Auth0 Home Blog Docs

Redirecting User to reset password

redirect-rules
change-password

#1

This is a continuation of this question: https://auth0.com/forum/t/redirecting-user-to-reset-password/5814
@jmangelo pointed me to an example which uses redirect rules.

Is configuration (look at the code snippet below) a built-in variable or should I define this? If I should define this, what is the value to be set for ISSUER?

var token = createToken(
        configuration.CLIENT_ID,
        configuration.CLIENT_SECRET,
        configuration.ISSUER, {
          sub: user.user_id,
          email: user.email
        }
      );

#2

Hi @keshavan,

The configuration variable is the global configuration object, that can be set at the bottom of the Rules dashboard:
https://manage.auth0.com/#/rules

You will need to define these values in the rules settings (at the bottom of the above link). Issuer should be your Auth0 tenant domain, e.g. https://your-tenant.auth0.com/.


#3