Registration Required persistent
-
My app is setup that only registered users can access it. The issue is that when you try to login with a user that is not registered for the app, you're stuck with the screen as seen in the image. Only way to get back to the login is to restart the server / delete the session from cookies. Is there a way to navigate back to the login page?
I am use dotnet 6 and React
-
@ryan-zeelie You should be able to modify the Authorized Not Registered template in your theme, to offer the user a link back to another page, or even add an HTML redirect to do this automatically.
https://fusionauth.io/docs/v1/tech/themes/template-variables#oauth-authorized-not-registered documents this page. It has no page specific variables, but does have all the common variables you could use to determine where to send the user: https://fusionauth.io/docs/v1/tech/themes/template-variables#common-variables
Hope that helps, thanks for using FusionAuth!
-
@dan And how do you add a button? Do you have an example? if I want to delete the token and make a forward redirect the user to another page (the login, for example).