I tried to create a password change ticket using auth management API v2 in auth web site (and also using postman). I keep getting this error:
{
I’m passing the data:
“result_url”: “my-apps.us.auth0.com/api/v2/ ”,user.email@mydomain.com ”,
I also tried passing the user_id without “auth0|” and as “auth0%7C” and got the same error.http://localhost:3000 ” and got the same error.
I’m trying to create a custom page to reset the password. If there is another way, please point to me. I’m lost in the documentation.
             
            
              
            
           
          
            
            
              Hi and welcome to the Auth0 Forums!
when generating a password change ticket you must use the email  and connection_id  , or just the user_id . You cannot use both in the payload.
The user_id should be sent with the auth0| portion, since the entire user_id contains the IDP and the ID for the user.
You can review the schema here: Auth0 Management API v2 
Customizing the Auth0 Password Reset page is documented here: Customize Password Reset Page 
Let us know how it goes
             
            
              3 Likes 
            
            
           
          
            
            
              Removing the user_id worked.
Thank you!
*Edited to add the data without user_id:http://localhost:3000 ”,
             
            
              1 Like 
            
            
           
          
            
            
              Glad you have it working and thanks for sharing the solution @marcus.baker !
             
            
              
            
           
          
            
              
                system  
              
                  
                    November 12, 2020, 11:42am
                   
                  5 
               
             
            
              This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.