How To Redirect Users After Login

Overview

This article describes how to configure redirects for users to specific endpoints or front-end applications after a successful login.

Applies To

  • Applications

Solution

To redirect users after login, use the redirect_uri parameter in the /authorize call as demonstrated in the following example:

https://<domain>/authorize?response_type=code&client_id=client_id&connection=Username-Password-Authentication&redirect_uri=http://localhost:3000&ADDITIONAL_PARAMETERS

  • Be sure to add the URL configured in the redirect_uri to the Allowed Callback URLs list in the Auth0 Dashboard under Applications > Your Application > Settings.

For more details, see Navigate to the login page.