简体   繁体   中英

ADFS Redirect_URI not working how can redirect another url?

I have configure two SAML Assertion Consumer under the relying party as below:

Configuration Image

Now when i initiate login url (as redirect_uri) in query string it always redirect to the default page instead of the second url so how can i redirect to url which is on 1st index?

below the url that i am initiate for login: https://fs.in.rptech.com/adfs/ls/idpinitiatedsignon?loginToRp=https://10.1.3.38:9090&redirect_uri=https://localhost:4435

SAML supports embedding additional information into RelayState for each authentication request.

To embed RelayState into an IDP-initiated login request with ADFS, you will need to encode your desired RelayState and SPID. An online tool to generate IDP-initiated login link is also available.

Notice that it is not possible to embed RelayState when you are using the loginToRp parameter.

You will need to Set-AdfsProperties -EnableRelayStateForIdpInitiatedSignOn in your ADFS server first.

And your application needs to retrieve the RelayState attribute from SAMLReponse and do the actual redirection.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM