Code Monkey home page Code Monkey logo

rails-auth0-sample's Introduction

rails-auth0-sample

https://rails-auth0-sample.herokuapp.com/

  • Use Omniauth

Lock for Web

#1

フロントエンドだけで高度な認証を提供できるぽい UIもウィジェットの他DOMへの埋め込みなどもでき、かなり柔軟にいじれそう

https://rails-auth0-sample.herokuapp.com/auth0js

auth0-js

Automatic Migration - Deviseで登録したユーザーをAuth0に自動移行する

#6

既存のDeviseのユーザーを、バッチ処理やパスワードリセットなしに徐々にAuth0に移行していく方法のサンプル。

Auth0ログインのフォールバック先として、既存のサービスのデータベース/APIを利用したパスワード認証が可能。 この機能を利用することで、運用中のサービスをゆるやかにAuth0認証に移行することが可能。

omniauth-facebook から Auth0 への移行サンプル

#10

omniauth-facebook でログインした場合、FacebookのユーザーIDが得られ、それをみてユーザーを識別します。 Auth0でFacebookログインを使った場合、Auth0から得られるuidは "facebook|FacebookのユーザーID" となっているため、これを使って移行前のユーザー情報を特定できます。

Custom Social Extensions - 標準で対応していないソーシャルログインへの対応

#5

グローバルでないサービス、自前サービスの認証など、Auth0がサポートしているソーシャルログイン以外にも、OAuthに対応していれば Custom Social Extensions で対応可能。

上記サンプルでは Yahoo! ID連携 をAuth0で使う方法を調べた。

rails-auth0-sample's People

Contributors

takeyuweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rails-auth0-sample's Issues

Auth0設定のコード化

ダッシュボード上の設定だとテスト環境を増やしたいときとか、もしも設定が壊れたときに戻せなくなって困るので、コード化しておきたい。
このようなときどうするか?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.