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
The Anatomy of OmniAuth
Search
xfernandox
November 13, 2012
Programming
1
190
The Anatomy of OmniAuth
A quick start guide and walk through the anatomy and implementation of OmniAuth.
xfernandox
November 13, 2012
Tweet
Share
Other Decks in Programming
See All in Programming
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
990
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
Basic Architectures
denyspoltorak
0
680
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
750
生成AIを活用したソフトウェア開発ライフサイクル変革の現在値
hiroyukimori
PRO
0
100
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
140
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
67
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
A Tale of Four Properties
chriscoyier
162
24k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Designing for Timeless Needs
cassininazir
0
130
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Transcript
11/13/12 — @joshrowley — @flatironschool Authenticate with OmniAuth The anatomy
and implementation of OmniAuth Wednesday, November 14, 12
On the Internets ✤@joshrowley ✤
[email protected]
✤github.com/xfernandox Wednesday, November 14, 12
Find notes for this presentation ✤ github.com/xfernandox/babl ✤ Feel free
to fork, checkout the before branch to get a version of the application before I go through the implementation. ✤ All my notes in README Wednesday, November 14, 12
What does this presentation cover? ✤ I. Anatomy of OmniAuth
How does it work? ✤ II. Implement OmniAuth! Let’s write the code. Wednesday, November 14, 12
What does this presentation *not*cover? ✤ Other authentication libraries Devise,
Authlogic, Clearance, etc. ✤ Implementing user authorizations ✤ Low-level guts of OmniAuth Wednesday, November 14, 12
✤ Create from scratch ✤ Use existing library to create
own authentication ✤ Use OmniAuth to authenticate with anyone* What are our options? *as long as there’s a strategy Wednesday, November 14, 12
11/13/12 — @joshrowley — @flatironschool Part I: Anatomy of OmniAuth
How does it work? Wednesday, November 14, 12
The next slides are from a talk by Michael Bleigh,
creator of OmniAuth @ RailsConf 2011 http://www.intridea.com/blog/2011/5/31/omniauth-from- the-ground-up Wednesday, November 14, 12
Wednesday, November 14, 12
What’s going on? Wednesday, November 14, 12
Wednesday, November 14, 12
Thanks @seldomatt for the image: blog.seldomatt.com Wednesday, November 14, 12
Thanks @seldomatt for the image: blog.seldomatt.com Wednesday, November 14, 12
This means OmniAuth works with any Rack based Ruby application.
Wednesday, November 14, 12
OmniAuth in Sinatra Wednesday, November 14, 12
OmniAuth in Rails Wednesday, November 14, 12
Wednesday, November 14, 12
OmniAuth in Rails Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
The Bare Minimum Hash Wednesday, November 14, 12
Wednesday, November 14, 12
Wednesday, November 14, 12
Let’s look at a strategy: ✤ Facebook: https://github.com/mkdynamic/omniauth-facebook/ blob/master/lib/omniauth/strategies/facebook.rb Wednesday,
November 14, 12
Date Part II: Implementing OmniAuth That’s all fine and dandy,
but how do I actually write the code? Wednesday, November 14, 12
Imagine... Wednesday, November 14, 12
BABL Wednesday, November 14, 12
Babl is Another weBLog Wednesday, November 14, 12
db/schema.rb Posts have a title and content Very simple model
so far Wednesday, November 14, 12
Wednesday, November 14, 12