locked
OAuth Logout was successful but the client will not be redirected RRS feed

  • Question

  • Hi ,
    After installing KB4019472 the AD FS discovery doc show end_session_endpoint,

    http://xxx/adfs/oauth2/logout?post_logout_redirect_uri=http%3A%2F%2Flocalhost%3A1116%2Fsrc%2F

    But post_logout_redirect_uri it not redirecting to the uri, on AD FS log

    The specified redirect URL did not match any of the OAuth client's redirect URIs. The logout was successful but the client will not be redirected. URL: http://localhost:1116/src/


    the config looks like

    Get-AdfsNativeClientApplication -Identifier "dd27ce21-a036-4fa0-b4fc-424f33ed4ef2
    "Name                       : AppNative
    Identifier                 : dd27ce21-a036-4fa0-b4fc-424f33ed4ef2
    ApplicationGroupIdentifier : NativeToWebAPI
    Description                : Console Application
    Enabled                    : True
    RedirectUri                : {http://localhost:1116/src/,http://localhost:1116/src/callback.html,http://localhost:8080/, https://localhost:44313/...}
    LogoutUri                  : http://localhost:1116/src/

    So what im missing.








    Monday, November 13, 2017 7:16 AM

Answers

  • I had the same problem recently. For it to do the redirect we had to include the "id_token_hint" as well. The value of the "id_token_hint" must be the value of the "id_token" received when signing in.
    Friday, November 17, 2017 4:55 PM

All replies

  • I had the same problem recently. For it to do the redirect we had to include the "id_token_hint" as well. The value of the "id_token_hint" must be the value of the "id_token" received when signing in.
    Friday, November 17, 2017 4:55 PM
  • I am experiencing the same issue.

    Anand can you help me out like how this "id_token_hint" value is added.

    Tuesday, March 27, 2018 6:57 AM