Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
42
UW Advanced Rails Week 8
benwoodall
0
49
UW Advanced Rails Week 7
benwoodall
0
46
Week 6
benwoodall
0
47
UW Advanced Rails Week 5
benwoodall
0
56
UW Advanced Rails Week 4
benwoodall
0
69
UW Advanced Rails Week 3
benwoodall
0
68
UW Advanced Rails Week 1
benwoodall
0
98
A Bit More Git
benwoodall
1
5.1k
Other Decks in Technology
See All in Technology
AIプラットフォームにおけるMLflowの利用について
lycorptech_jp
PRO
1
170
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
5
490
AI 駆動開発勉強会 フロントエンド支部 #1 w/あずもば
1ftseabass
PRO
0
400
生成AIを利用するだけでなく、投資できる組織へ / Becoming an Organization That Invests in GenAI
kaminashi
0
110
re:Invent 2025 ~何をする者であり、どこへいくのか~
tetutetu214
0
230
Jakarta Agentic AI Specification - Status and Future
reza_rahman
0
110
多様なデジタルアイデンティティを攻撃からどうやって守るのか / 20251212
ayokura
0
490
RAG/Agent開発のアップデートまとめ
taka0709
0
190
文字列の並び順 / Unicode Collation
tmtms
3
610
日本Rubyの会: これまでとこれから
snoozer05
PRO
4
160
Snowflakeでデータ基盤を もう一度作り直すなら / rebuilding-data-platform-with-snowflake
pei0804
6
1.6k
AI駆動開発の実践とその未来
eltociear
1
280
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
58
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
340
Being A Developer After 40
akosma
91
590k
Chasing Engaging Ingredients in Design
codingconduct
0
74
Making Projects Easy
brettharned
120
6.5k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.7k
What's in a price? How to price your products and services
michaelherold
246
13k
Marketing to machines
jonoalderson
1
4.3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
110
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
0
840
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
11
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