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

    Redirect after email verification with authenticated user state

    Scheduled Pinned Locked Moved
    Q&A
    0
    5
    1.5k
    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.
    • H
      harish_reddy
      last edited by

      Hi

      Once user completes email verification. User lands on dead end page /email/complete

      So, we added custom logic in the theme to redirect user to SPA

      But, the user does not have session, if they are clicking the verification link after their previous session expired or opening in new session.

      Is it possible to get same behaviour for /email/complete as it now for redirect after registration with authenticated user state in url?

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Are you saying you'd like the user to be logged in the same way after email verification which they are after a user registers?

        And you are using the FusionAuth hosted login pages (not building your own), correct?

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

        1 Reply Last reply Reply Quote 0
        • H
          harish_reddy
          last edited by

          Are you saying you'd like the user to be logged in the same way after email verification which they are after a user registers?

          Exactly.

          We have modified the themes. But they are hosted in fusionauth cloud.

          1 Reply Last reply Reply Quote 0
          • H
            harish_reddy
            last edited by

            I am talking about this page. This page is dead end.

            Screenshot 2020-12-19 at 09.17.00.png

            1 Reply Last reply Reply Quote 0
            • danD
              dan
              last edited by

              Ah, I see. Yes, this is new functionality; the javascript redirect is the best option currently, but that won't automatically log a user in.

              If you have a support contract, please open a support ticket.

              Otherwise, please file a feature request in our github issues repo.

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

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