Playing with OmniAuth
However OmniAuth is mainly used for authorization. So let's try a more lightweight approach with just OpenID.
This commit is contained in:
parent
8d15711c0f
commit
898dd81c6b
15 changed files with 219 additions and 21 deletions
|
|
@ -35,8 +35,16 @@
|
|||
/ = link_to 'log in using your secure certificate', users_debian_sso_path
|
||||
|
||||
/ = link_to "Sign in with Launchpad", user_launchpad_omniauth_authorize_path
|
||||
= link_to "Sign in with Google", user_google_oauth2_omniauth_authorize_path
|
||||
/ = link_to "Sign in with Google", user_google_oauth2_omniauth_authorize_path
|
||||
|
||||
= link_to "Sign in with Launchpad", user_launchpad_omniauth_authorize_path
|
||||
|
||||
= link_to "Sign in with Amazon", user_amazon_omniauth_authorize_path
|
||||
div
|
||||
= link_to image_tag('/images/sso/google.png'), user_google_oauth2_omniauth_authorize_path
|
||||
|
||||
div
|
||||
= link_to image_tag('/images/sso/amazon.png'), user_amazon_omniauth_authorize_path
|
||||
|
||||
div
|
||||
stackexchange
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue