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
    2 Posts 1 Posters 1.1k Views 1 Watching
    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 - Identity Without Constraints
      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 - Identity Without Constraints
        https://fusionauth.io

        1 Reply Last reply
        Reply Quote 0
        • danD dan moved this topic from Q&A on
        • danD dan moved this topic from Frequently Asked Questions (FAQ) on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post