FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. developer 1
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    developer 1

    @developer 1

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    developer 1 Unfollow Follow

    Latest posts made by developer 1

    • RE: oauth2/authorize redirects to oauth2/consent (AzureStaticWebApp)

      Thanks Alex. I went back and looked and it doesn't seem I can even turn that option on. Its set to First Party and when I try to set it to Third Party I get this:

      7c9c6e5d-95d3-4c0b-9055-dfd713a5236a-image.png

      So that doesn't really answer the question as to why fusion auth is redirecting to the "consent" endpoint. This process is kicked off via the normal "authorize" endpoint so I don't think email templates are in play either.

      posted in Q&A
      D
      developer 1
    • oauth2/authorize redirects to oauth2/consent (AzureStaticWebApp)

      I have a Fusion Auth server working with an ASP.NET application. However, we are trying to use the same server with Azure Static Websites. I've followed their docs, however FusionAuth appears to be getting stuck in a redirect loop. The first odd thing that stands out is that fusion auth is redirecting from oauth2/authorize to oauth2/consent. I can't find documentation about this endpoint or why FusionAuth would do that.

      The flow goes as follows:
      [AzureStaticWebApp] -> [FusionAuth] oauth2/authorize -> [FusionAuth] oauth2/consent -> [AzureStaticWebApp] callback.

      My fusion auth debug log says that the code has been exchanged successfully exchanged for an access token. But the redirect loop seems to say otherwise?

      What is this oauth2/consent endpoint and why is fusion auth redirecting there? My best guess is that this is what's messing up the hand off with Azure Static Websites auth?

      Any additional information would be helpful

      2d0523e7-65e4-4cb4-8baa-2eaf65fc21ee-image.png

      Query String of the oauth2/authorize request
      eca09897-744b-4a74-9167-36960451e562-image.png

      Query String of the oauth2/consent request
      37f2baed-fcc3-469a-8282-1309d9a77402-image.png

      Query String of the 'callback` request
      5d917714-e757-4dde-b454-24c7e4ae85c6-image.png

      posted in Q&A
      D
      developer 1