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
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
71
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
ビズリーチにおける検索・推薦の取り組み / DEIM2026
visional_engineering_and_design
1
100
Secure Boot 2026 - Aggiornamento dei certificati UEFI e piano di adozione in azienda
memiug
0
140
Databricksアシスタントが自分で考えて動く時代に! エージェントモード体験もくもく会
taka_aki
0
320
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
7
7.1k
新職業『オーケストレーター』誕生 — エージェント10体を同時に回すAgentOps
gunta
4
1.5k
作りっぱなしで終わらせない! 価値を出し続ける AI エージェントのための「信頼性」設計 / Designing Reliability for AI Agents that Deliver Continuous Value
aoto
PRO
1
140
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
44k
類似画像検索モデルの開発ノウハウ
lycorptech_jp
PRO
4
920
Ultra Ethernet (UEC) v1.0 仕様概説
markunet
3
200
Windows ネットワークを再確認する
murachiakira
PRO
0
280
Kaggleで鍛えたスキルの実務での活かし方 競技とプロダクト開発のリアル
recruitengineers
PRO
1
160
Evolution of Claude Code & How to use features
oikon48
1
300
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
190
Documentation Writing (for coders)
carmenintech
77
5.3k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
The Pragmatic Product Professional
lauravandoore
37
7.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
The Cult of Friendly URLs
andyhume
79
6.8k
Designing for humans not robots
tammielis
254
26k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.8k
Chasing Engaging Ingredients in Design
codingconduct
0
130
Building Flexible Design Systems
yeseniaperezcruz
330
40k
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