Plugins
Integrating Auth0
18min
- After logging in to Auth0, go to your dashboard and create a new application.
ο»Ώ
ο»Ώ
- Choose the type of application: "Regular Web Application".
ο»Ώ
ο»Ώ
- After creating the application go to the "Settings" section of the application
ο»Ώ
ο»Ώ
- First of all you will need to get the Channel Token from the settings / integrations / Teyuto API section.
ο»Ώ
- Configure application settings, including callback URLs and logout URLs, by following these instructions:
ο»Ώ
- Configure the parameters like this:
- Allowed Callback URLs https://api.teyuto.tv/v2/oauth/{channelToken}/check/auth0 {channelToken} is the parameter previously retrieved from the integrations / Teyuto API section.
- Make sure that "Allow Cross-Origin Authenticationβ is enabled
ο»Ώ
ο»Ώ
If you have an active platform it will be essential to follow these steps to allow your current users to be able to access through Auth0.
ο»ΏBe very careful, if you do not take this step your current users will not be able to access the platform.
To set up the Teyuto to Auth0 user migration integration, follow these steps:
- Access the βAuthenticationβ section in Auth0, then proceed with β+ Create DB Connectionβ
ο»Ώ
ο»Ώ
- Insert "teyuto-dbβ as the Database Name, and then click βCreateβ
ο»Ώ
- Once the database has been created, from the βSettingsβ section, enable the βImport Users to Auth0β
ο»Ώ
- Next, go to the βCustom Databaseβ and enable the βUse my own databaseβ
ο»Ώ
- Still in the Custom Database section, scroll down to the "Database Action Scriptsβ,
- For βLoginβ insert the code below in this way, being careful to change the parameter {channelToken} with your parameter recently found from the settings / integration / Teyuto API section.
- insert the Chennel Token parameter into "YOUR_CHANNEL_TOKEN" .
ο»Ώ
- Then save, you should get a similar result:
ο»Ώ
Β
- For βGet Userβ you will have to find "Auth Token" of Teyuto from your dashboard (it is the private token).
Then go to the Settings / Integrations / Teyuto API section.
ο»Ώ
- Now go back to Auth0 in the βDatabase Action Scriptsβ screen for βGet Userβ,
- insert the Auth Token parameter into "YOUR_AUTH_TOKEN" .
ο»Ώ
ο»Ώ
- Then save, you should get a similar result:
ο»Ώ
ο»Ώ
- Access to the Settings section and then Integrations.
- Then search for "Auth0"
ο»Ώ
- Click on Connect
ο»Ώ
- From the settings section of your Auth0 application find the information to be entered into Teyuto
ο»Ώ
- On the Teyuto integration screen click on Connect.
ο»Ώ
ο»Ώ
Updated 11 Oct 2023
Did this page help you?