Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
UW Advanced Rails Week 2
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ben Woodall
April 09, 2015
Technology
0
190
UW Advanced Rails Week 2
Slides from Week 2: OAuth
Ben Woodall
April 09, 2015
Tweet
Share
More Decks by Ben Woodall
See All by Ben Woodall
UW Advanced Rails Week 9
benwoodall
0
44
UW Advanced Rails Week 8
benwoodall
0
51
UW Advanced Rails Week 7
benwoodall
0
47
Week 6
benwoodall
0
51
UW Advanced Rails Week 5
benwoodall
0
57
UW Advanced Rails Week 4
benwoodall
0
72
UW Advanced Rails Week 3
benwoodall
0
70
UW Advanced Rails Week 1
benwoodall
0
100
A Bit More Git
benwoodall
1
5.1k
Other Decks in Technology
See All in Technology
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
180
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
260
TUNA Camp 2026 京都Stage ヒューリスティックアルゴリズム入門
terryu16
0
360
事例から紐解くSHIFT流QA支援 ~大規模プロジェクトの品質管理支援、QA組織立ち上げ~ / 20260320 Nozomu Koketsu
shift_evolve
PRO
0
140
LLMに何を任せ、何を任せないか
cap120
10
5.4k
FlutterでPiP再生を実装した話
s9a17
0
160
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
190
韓非子に学ぶAI活用術
tomfook
2
610
「コントロールの三分法」で考える「コト」への向き合い方 / phperkaigi2026
blue_goheimochi
0
150
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
120
「お金で解決」が全てではない!大規模WebアプリのCI高速化 #phperkaigi
stefafafan
5
2.3k
Phase02_AI座学_応用
overflowinc
0
2.8k
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
WCS-LA-2024
lcolladotor
0
500
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
How to make the Groovebox
asonas
2
2k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
360
It's Worth the Effort
3n
188
29k
Building Adaptive Systems
keathley
44
3k
The SEO identity crisis: Don't let AI make you average
varn
0
420
Leo the Paperboy
mayatellez
4
1.6k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
160
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Transcript
Questions from Week 1? 1
Week 2: Authentication with Oauth Spring 2015 2
What is OAuth? Allows users to share data from one
site with another without having to worry about sharing usernames and passwords Access tokens can limit the amounts and types of data a user wishes to share RFC-6749 - https://tools.ietf.org/html/rfc6749 3
4
None
6
Shortener 7
Shortener 8
We need to update sign in/sign up page Controller actions
to handle Twitter authentication A user needs to be created after authenticating with Twitter 9 What do we know so far?
Tests 10
Tests 11
omniauth-twitter gem 12
Initializing Omniauth 13 config/initializers/twitter.rb
Initializing Omniauth 14 config/application.rb .gitignore
Our views 15 app/views/users/new.html.erb config/routes.rb
Our controller spec 16 spec/controllers/sessions_controller_spec.rb
Our controller 17 app/controllers/sessions_controller.rb
Our model 18 app/models/user.rb
Questions? 19