auth0-connector
Web icon

Auth0 Connector

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 09 March 2021
 by 
5.0
 (2 ratings)
auth0-connector

Auth0 Connector

Documentation
1.0.1

Auth0 Connector provides a way to integrate your Web application with Auth0. In order to use/test the component you will need to own a Auth0 Account(it can be a trial).

Your Outsystems application will need to map to an Auth0 previously created application.

For setting up the component and use this component in your web application, follow these steps:


1- Create your Auth0 Application 

        - Application Name should be the exact same name of your OS Application that you are integrating with Auth0 (e.g. Order Management)

- Collect Auth0 Domain Info (To be used when creating the mapped application in Auth0 Connector)

- Collect the client id (To be used when creating the mapped application in Auth0 Connector)

- Collect the secret (To be used when creating the mapped application in Auth0 Connector)

- Set the Application Login URI to your application entry point

- Set the callback url to the Auth0 Connector Callback URL

- Set the Logout URL to the entry point of your application. It can be any other url but this way when the user logs out it will be redirected to the Auth0 Login URL.



2 - Map your Auth0 Application with Auth0 Application

         - Create a new Apppication in Auth0 Connector Application

- Set the Name of the App to the Name of the eSpace of the Application that you are integrating with Auth0

- Set the Client Id, Secret, and Auth0 domain with the values previously collect from the Auth0 Application previously created.

- Set the Logout URL to the same Logout URL thar you have configured in the Auth0 Application.


3 - Change the code in the application that you are integrating with Auth0

        - Change the Security flow in the On Exception to Redirect to the Auth0 Connector Redirect page

- Change the Client Logout to redirect to the Logout URL from the GetLogoutURL of the Auth0 Connector (Will perform Logout in Auth0 and OS)