FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Registration Required persistent

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    3
    3
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      ryan.zeelie
      last edited by

      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

      a0d1ea06-a379-424a-a7f6-e19f28883c3d-image.png

      danD 1 Reply Last reply Reply Quote 1
      • danD
        dan @ryan.zeelie
        last edited by

        @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!

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        L 1 Reply Last reply Reply Quote 0
        • L
          llorach.pablo @dan
          last edited by

          @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).

          1 Reply Last reply Reply Quote 0
          • First post
            Last post