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

    Endless redirects when using the spring example and a fusionauth cloud instance

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    1
    2
    511
    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.
    • danD
      dan
      last edited by

      Working through https://fusionauth.io/blog/2023/01/03/spring-and-fusionauth, it works fine when running locally, but when running with a FusionAuth cloud instance (or on any remote server), I get stuck in endless redirects after logging in.

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

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

        I was able to recreate the "too many redirects" issue on my end. I received a couple of errors that I was able to resolve and get the app working.

        The first error was this: Unable to convert claim 'iss' of type 'class java.lang.String' to URL.

        To fix this I made sure the issuer value on the Tenant level was a full URL (e.g. https://fusionauth.io instead of fusionauth.io).

        The next error I ran into after that was this: Missing attribute 'name' in attributes.

        To fix this one I just needed to make sure the user had a Full Name value on their profile. The default OIDC integration requires that.

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

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