So, I’m trying to put a button bellow the reset password form where the user can click to go back to the app login page. I checked the available variables and tried to research how to send parameters to that page but none of it worked.
I tried this way but I am not actually able to know who is going to reset password.
I’d need a way to inform this paramter on the dbconnections/change_password POST request endpoint.
When a user changes password (which is the same regardless the tenant) I need to know which tenant login page the user was when requesting to reset password so I can redirect the user back to the same tenant login page.
To handle these redirects to the login page based on the applications I recommend setting the callback URL of your applications to point to your login page, and then in the Change Password Redirect To field you can pass the application.callback_domain variable, which will call the first URL listed in your application’s Allowed Callback URL.
So for example:
When a user changes their password on App 1 they will redirect to App 1’s login page.
When a user changes their password on App 2 they will redirect to App 2’s login page.
And the user’s changed passwords are synced between the applications.