I implemented auth0 login in my project. I called loginWithRedirect and opened auth0 login form. And in login action I wrote this code to redirect to password reset page.
In order to have the user redirected to the application’s login page, you will need to configure a default login route.
You can do that by going to your application within the Auth0 Dashboard → Settings → Application Login URI or you can configure a tenant wide one by going to the Dashboard → Settings → Advanced → Tenant Login URI. These will display a button on the password reset success page which will redirect them to the login page again. Unfortunately, it is not possible to redirect the user automatically once they have successfully reset they password unless this functionality is handled within a custom page and not by Auth0’s Universal Login.
The URL should be the one pointing to your /authorize endpoint of your application. In most instances, this should be https://example.us.auth0.com/u/login.
Thanks for your reply. I added https://example.us.auth0.com/u/login in ternalt login uri. of course I used my tenant domain. But I still can not see link on password reset page.
Ok. If this is impossible I will turn on app manually after password reset success.
And I need other difficult on my project. My project is angular+ionic+capacitor project.
In development mode, I use google chrome.
If I call loginWithRedirect function when click button, auth0 login page displayed and after login success returned to http://localhost:8100 automatically. Of course I added http://localhost:8100 in allowed web origins, allowed callback urls, allowed logout urls on auth0 dashboard. and As redirect url, I setted http://localhost:8100 in my project. But this is development mode. I need to do the same thing in production mode- on emulator and real phone, not web browser.
In this case what url should I use for redirect url?
Sorry for the late reply to your last post on the topic.
Do you still experience the mentioned issues above?
Thanks for your reply. I added https://example.us.auth0.com/u/login in ternalt login uri. of course I used my tenant domain. But I still can not see link on password reset page.
That is the correct login url that you should be using. That should do the trick in order to have the button displayed after a successful password reset. It should say "Back to {{Application.Name}}. Do you use any custom page templates or the default ones from Auth0?
In this case what url should I use for redirect url?
Here you will be using the page on which you need to redirect the user to, specifically the home page/profile etc. For example, once Auth0 redirects back to the application, it should visit either my_web_page.example.com or my_web_page.example.com/home if you are using protected routes/pages for unauthenticated users. It really depends which page was the user one before redirection and where you need the user to land after authentication.