Reputation: 8784
I can successfully generate a password change ticket via the Management API, but after the user changes their password, they are not redirected to the result_url
specified when creating the ticket.
Steps Taken:
client_credentials
access_token (server side)POST https://MYTENANT.auth0.com/oauth/token
client_id=MYCLIENT&client_secret=MYSECRET&grant_type=client_credentials&audience=https%3A%2F%2FMYTENANT.auth0.com%2Fapi%2Fv2%2F
POST https://MYTENANT.auth0.com/api/v2/tickets/password-change
Authorization: Bearer MYACCESSTOKEN
{
"result_url": "https://MYDOMAIN/callback",
"user_id": "auth0|MYUSERID"
}
ticket
from previous response (removed the "#" at the end of the ticket, but either way it doesn't seem to change anything)Status Code: 302
Location: https://MYTENANT.auth0.com/u/reset-password?ticket=MYTICKET
After successfully changing the password on the unaltered Universal Login Password Reset page, the user is just presented with a message saying:
How do you redirect a user to a page after a password reset using Auth0's Universal Login Password Reset page? What am I doing wrong here?
Upvotes: 4
Views: 1611
Reputation: 8784
Looks like this is just an "early adopter" issue. I was using the "New Experience" (which in their defense, does have the BETA
badge) and as soon as I switched back to the "Classic Experience" it worked as expected.
I'll leave this up in case anyone else runs into this in the future.
Upvotes: 4