Skip to main content
Version: 3.0.0

Authentication

To be able to use the web components, the user must authenticate via our IDP. When a web component is loaded, authentication will be requested automatically.

Native Integration specifications

To integrate the authentication process correctly in your native application, please follow the instructions below.

You need to handle the authentication redirections in your WebView. When the user is not authenticated, the web component will redirect to the Auth0-hosted login page. After a successful login, Auth0 will redirect back to the web component with the authentication result.

You need to ensure that your WebView handles these redirections correctly and passes the redirect URL with the search params to the WebView instead of recreating it.

You have some examples on the native applications specifications page.

Identity Federation

If you wish to set up identity federation with your own identity provider, please contact us.

Warning

During the user authentication process, when receiving the Auth0 callback, ensure that the WebView is not recreated, but is updated with the callback URL instead. Recreating the WebView would cause the loss of authentication data stored in memory, resulting in authentication failure.