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
Ben Woodall
April 09, 2015
Technology
0
180
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
43
UW Advanced Rails Week 8
benwoodall
0
50
UW Advanced Rails Week 7
benwoodall
0
46
Week 6
benwoodall
0
50
UW Advanced Rails Week 5
benwoodall
0
56
UW Advanced Rails Week 4
benwoodall
0
71
UW Advanced Rails Week 3
benwoodall
0
69
UW Advanced Rails Week 1
benwoodall
0
99
A Bit More Git
benwoodall
1
5.1k
Other Decks in Technology
See All in Technology
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
AI Agent Standards and Protocols: a Walkthrough of MCP, A2A, and more...
glaforge
1
500
AWS監視を「もっと楽する」ために
uechishingo
0
280
AI時代のPMに求められるのは 「Ops」と「Enablement」
shimotaroo
1
270
形式手法特論:コンパイラの「正しさ」は証明できるか? #burikaigi / BuriKaigi 2026
ytaka23
17
6.5k
習慣とAIと環境 — 技術探求を続ける3つの鍵
azukiazusa1
2
730
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
22k
AI Agent Agentic Workflow の可観測性 / Observability of AI Agent Agentic Workflow
yuzujoe
5
2.3k
AWS Network Firewall Proxyで脱Squid運用⁈
nnydtmg
1
150
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
AI アクセラレータチップ AWS Trainium/Inferentia に 今こそ入門
yoshimi0227
1
310
kintone開発のプラットフォームエンジニアの紹介
cybozuinsideout
PRO
0
570
Featured
See All Featured
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
150
Prompt Engineering for Job Search
mfonobong
0
150
How Software Deployment tools have changed in the past 20 years
geshan
0
31k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
430
A Soul's Torment
seathinner
5
2.2k
How to Ace a Technical Interview
jacobian
281
24k
The Invisible Side of Design
smashingmag
302
51k
4 Signs Your Business is Dying
shpigford
187
22k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Writing Fast Ruby
sferik
630
62k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
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