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
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
49
UW Advanced Rails Week 8
benwoodall
0
60
UW Advanced Rails Week 7
benwoodall
0
56
Week 6
benwoodall
0
63
UW Advanced Rails Week 5
benwoodall
0
69
UW Advanced Rails Week 4
benwoodall
0
79
UW Advanced Rails Week 3
benwoodall
0
79
UW Advanced Rails Week 1
benwoodall
0
110
A Bit More Git
benwoodall
1
5.1k
Other Decks in Technology
See All in Technology
プロダクトだけじゃない、社内プロセスにおける自動化・省力化ノススメ
kakehashi
PRO
1
3.1k
生成AIの活用/high_school2026
okana2ki
0
110
環境凍結という Toil を倒す -セルフサービス型 Ephemeral テスト環境の 設計と実践
shirouz
1
1.9k
ゼロをイチにする仕事が終わったあと
smasato
0
320
AI時代における最適なQA組織の作り方
ymty
3
480
AIに「使われる」時代のSaaS戦略 〜既存WebAPIのMCPサーバー化における開発ノウハウ〜
ekispert_api
0
300
キャリアの中で本を作る / Making a Book During Your Career
ak1210
0
120
「ちゃんとやっている」は独りよがりだった ― 不安に寄り添うインシデント対応へ / Towards incident response that addresses anxieties
chmikata
1
4.1k
はじめてのWDM
miyukichi_ospf
1
130
Keeping applications secure by evolving OAuth 2.0 and OpenID Connect
ahus1
PRO
1
150
脱金融のフューチャー・デザイン / Future Design Beyond Finance
ks91
PRO
0
140
AI駆動開発におけるQAエンジニアの役割事例 〜AI駆動開発の現場から〜
kobayashiyorimitsu
0
420
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.9k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
380
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.6k
So, you think you're a good person
axbom
PRO
2
2.1k
Navigating Weather and Climate Data
rabernat
0
280
Marketing to machines
jonoalderson
1
5.6k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
340
We Have a Design System, Now What?
morganepeng
55
8.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
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