• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
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
691
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.
  • D
    dan
    last edited by 11 May 2023, 20:46

    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

    D 1 Reply Last reply 11 May 2023, 20:47 Reply Quote 0
    • D
      dan @dan
      last edited by 11 May 2023, 20:47

      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
      1 out of 2
      • First post
        1/2
        Last post