<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00008ciY6qSAEOkta Classic EngineSingle Sign-OnAnswered2020-06-15T00:56:47.000Z2020-06-08T00:48:43.000Z2020-06-15T00:56:47.000Z
  • Hi Halid,

     

    This error occurs when the "redirect_uri" query parameter passed in the /authorize endpoint request does not match a previously added Login Redirect URI under Admin >> Applications >> your OIDC application >> General tab >> Login Redirect URIs.

     

    Please check the following:

    1. When receiving the error, the redirect_uri passed as a query parameter is indeed the callback endpoint on which you are expecting the JWTs or an authorization code from Okta. If this is the case, please make sure that this URL is added in the OIDC application's settings under Admin >> Applications >> your OIDC application >> General tab >> Login Redirect URIs.
    2. If the callback endpoint passed in the redirect_uri query parameter is not the one expected, please update your code to return the exact callback endpoint in the request to Okta.

     

    Dragos Gaftoneanu

    Developer Support Engineer

    Okta Global Customer Care

    Expand Post
This question is closed.
Loading
community@okta.com