Okta

Octa

Introduction

Auth0 supports user integration with various social identity providers (Google, Facebook, etc.) and enterprise identity providers (Okta, etc.). By default, each identity provider's account is recognized as a different user, even if the user is the same. For example, if a user signs up in the Auth0 user database and then logs back in with a Google account with the same email address, they will be registered as two different users in Auth0.

Therefore, by using Auth0's "account linking" function, it is possible to link each identity provider's account as a single user. Benefits of using account linking include:

  • Users can log in with any identity provider without creating separate user profiles for each provider
  • Registered users can use new ID providers and passwordless logins while inheriting existing user profiles
  • Users registered using passwordless can be linked to any identity provider account with more detailed user profile information
  • The application side can obtain user information that holds each identity provider

There are several methods of account linking that can be achieved with Auth0, but on this page, when a user logs in, if there is another user with the same email address, we will introduce "proposed account linking". We will introduce a setting example and the actual operation.

premise

The operation check on this page is for Auth0-linked web applications.

The information on functions and settings described on this page is current as of October 2022.

Setting method

  • On the Auth0 management screen, click [Extensions]
  • Click [Auth0 Account Link] on the All Extensions tab
Setting method
3. The Auth0 Account Link setting screen will be displayed, so click [Install].
Setting method
4. Confirm that [Auth0 Account Link] has been added to the Installed Extensions tab
* Here you can change the text of the screen that prompts you to link your account.
Setting method
5. Click [Auth Pipeline] > [Rules]
6. Confirm that the [auth0-account-link-extension] Rule is added and enabled
*You can check and customize the account linking script here.
Setting method

operation check

After registering as a user in the Auth0 user database, log in with a Google account that has the same email address and check if a screen prompting you to link your account appears.

1. Perform user registration in the Auth0 user database
*Login test is possible from "Try" in Authentication > Authentication Profile
operation check
2. Confirm that you are registered as a user of the Auth0 user database on the Auth0 management screen
operation check
3. Log in with a Google account that has the same email address
*Login test is possible from "Try" in Authentication > Authentication Profile
operation check
4. Confirm that a screen prompting account linking is displayed, and click [CONTINUE].
operation check
5. The login screen for Auth0 is displayed, so log in with the user logged in in 1.
operation check
6. On the Auth0 management screen, confirm that [Google / Gmail] is displayed in the Accounts Associated column of the user in the Auth0 user database confirmed in 2.
*Successful account linking
operation check

Supplement (customizing the account link screen)

You can customize the account linking screen from Extensions on the Auth0 administration screen. We will introduce how to change the screen display text to Japanese and the title.

  • Click [Extensions] on the Auth0 admin screen
  • Click [Auth0 Account Link] on the Installed Extensions tab
Supplement (customizing the account link screen)
3. Since the setting page of the account link screen is displayed, move to the bottom of the screen
Supplement (customizing the account link screen)
4. In the Widget Settings, change the Title to any character (example: account link, etc.), change the Language to [Japanese], and click [SAVE CHANGES].
Supplement (customizing the account link screen)
5. Confirm that "Success! Your changes have been successfully saved."
Supplement (customizing the account link screen)
6. Confirm that the screen prompting for account linking has been changed as shown below.
Supplement (customizing the account link screen)

Summary

Auth0 supports multiple identity providers, giving you the flexibility to link your accounts. By using Auth0's account linking function, it is possible to provide a consistent user experience on the user side, and on the administrator side there are benefits such as reducing the number of unnecessary users and consolidating user information. You can also use it in the free Auth0 trial environment, so please try the account link function.

Inquiry/Document request

In charge of Macnica Okta Co., Ltd.

Mon-Fri 8:45-17:30