0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Auth0 ソーシャルログイン追加方法 メモ

Posted at

Auth0 ソーシャルログイン追加方法 メモ

  • Auth0を利用する際にソーシャルログイン機能を有効にする方法をメモする。

Auth0コネクション

  • Auth0では、認証方法(ログイン)方法をコネクション(connection)と呼ぶ。

  • コネクションは次の種類に分類される。

    • Database Connection
    • Social Login
      • TwitterやFacebookなど外部のIDプロバイダーでログインする方法を指す。
    • Enterprise Directory
    • Passwordless

ソーシャルログイン追加手順

  • Auth0ダッシュボード→「Authenticaiton」→「Social」を選択

  • 「Create Connection」を押下

  • 連携用ソーシャルサービスを選択する※今回はTwitterを選択

    auth0-social.png

  • コンシューマーAPIキーを入力

    • ※事前にTwitterデベロッパーコンソールよりアプリケーション登録+APIキー発行

      auth0-twitter.png

  • コネクションを利用するアプリケーションを選択

    auth0-twitter-app.png

動作確認

  • Auth0ログイン画面に遷移すると以下のように「Continue with Twitter」が追加されていることが確認できる。

    auth0-login-social.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?