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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ben Woodall
April 09, 2015
Technology
220
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
51
UW Advanced Rails Week 8
benwoodall
0
62
UW Advanced Rails Week 7
benwoodall
0
58
Week 6
benwoodall
0
65
UW Advanced Rails Week 5
benwoodall
0
71
UW Advanced Rails Week 4
benwoodall
0
80
UW Advanced Rails Week 3
benwoodall
0
80
UW Advanced Rails Week 1
benwoodall
0
110
A Bit More Git
benwoodall
1
5.1k
Other Decks in Technology
See All in Technology
NYC Summit 2026 におけるAmazon Bedrock AgentCore のアップデート
ren8k
3
320
信頼できるテスティングAIをどう育てるか?
odan611
0
190
名古屋の市バスGTFS-JPデータ×スガキヤ 最寄りバス停検索をAmazon ElastiCache Serverless for Valkeyで最適化する
usanchuu
1
190
侵入は突然に 〜 IoTマルウェアと悪用される家庭の機器 ~ / When Intrusion Strikes: IoT Malware and the Abuse of Home Devices
nttcom
0
1.4k
LangfuseによるLLMOps基盤の構築と活用事例
zozotech
PRO
1
260
変化の早いClaude Codeを 書籍に落とし込む
oikon48
6
1.2k
初めてのGitHub Actions / GitHub Actions at First
tooppoo
0
130
NetBoxを利用した作業効率化の試み_NetDevNight4
tnoha
0
450
サイバー捜査員研修(後半)
nomizone
1
490
AIがAPIを書く時代に、私たちは何を設計すべきか
nagix
0
200
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.6k
「待ち時間」の消滅と「自我消耗」の加速:生成AI時代のエンジニアを救うメンタル・リソース管理
poropinai1966
0
420
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
920
For a Future-Friendly Web
brad_frost
183
10k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
450
The Curious Case for Waylosing
cassininazir
1
450
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
200
Measuring & Analyzing Core Web Vitals
bluesmoon
9
950
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
320
Tell your own story through comics
letsgokoyo
1
1k
Building Adaptive Systems
keathley
44
3.2k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
230
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Done Done
chrislema
186
16k
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