Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
UW Advanced Rails Week 2
Search
Ben Woodall
April 09, 2015
Technology
250
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
UW Advanced Rails Week 2
Slides from Week 2: OAuth
Ben Woodall
April 09, 2015
More Decks by Ben Woodall
See All by Ben Woodall
UW Advanced Rails Week 9
benwoodall
0
61
UW Advanced Rails Week 8
benwoodall
0
67
UW Advanced Rails Week 7
benwoodall
0
70
Week 6
benwoodall
0
71
UW Advanced Rails Week 5
benwoodall
0
78
UW Advanced Rails Week 4
benwoodall
0
85
UW Advanced Rails Week 3
benwoodall
0
87
UW Advanced Rails Week 1
benwoodall
0
120
A Bit More Git
benwoodall
1
5.1k
Other Decks in Technology
See All in Technology
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
340
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
220
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
110
Getting Started with Google Antigravity
glaforge
0
310
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
590
パッチ更新でterraform initが落ちた日
grimoh
1
140
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
2
280
Local CI × GitHub Actions
gogutan
2
190
Classmethod Company Deck
satoshi7
1
690
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
590
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How to train your dragon (web standard)
notwaldorf
96
6.9k
New Earth Scene 8
popppiees
4
2.7k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Tell your own story through comics
letsgokoyo
1
1.1k
A Modern Web Designer's Workflow
chriscoyier
699
190k
HDC tutorial
michielstock
2
960
How to Talk to Developers About Accessibility
jct
2
580
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
Google's AI Overviews - The New Search
badams
0
1.6k
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