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

    Using reconsile api to get access token for AzureAD OpenID Connect

    Scheduled Pinned Locked Moved Unsolved Q&A
    2 Posts 2 Posters 5.7k Views
    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.
    • K
      kushalborda1997
      last edited by

      Hi,
      I am using /api/jwt/reconcile api to get access token, it is working fine with Google IDP, but when I try to use it with AzureAD OpenID Connect, I am getting following error:
      AzureAD error for reconcile API.png
      It is asking for data.code and data.redirect_uri.
      When I am running for same thing for Google IDP then It's working fine without data.code and data.redirect_uri.
      After that I have passed data.code and data.redirect_uri parameter value for AzureAD OpenID Connect. Then also it's showing error:
      AzureAD error for reconcile API with code and r_uri.png
      I have entered all correct details for this API according to FusionAuth Doc. But I am getting this error.
      This is Event log of AzureAD OpenID Connect Identity provider after calling API.
      58117d79-72b7-498f-8921-6dfd1facc9e9-image.png
      I would really appreciate it if you could provide any advice or assistance to help me resolve this issue.

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

        @kushalborda1997 Hiya,

        We recently updated the documentation to make it more clear you shouldn't use the /api/jwt/reconcile endpoint for any identity providers except the external JWT provider. We'll change the application to make the error message clearer; here's the tracking issue: https://github.com/FusionAuth/fusionauth-issues/issues/2074

        You should use the OIDC provider and the complete login endpoint. Here's documentation that should help: https://fusionauth.io/docs/v1/tech/apis/identity-providers/openid-connect#complete-an-openid-connect-login

        Hope that helps!

        --
        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