简体   繁体   中英

Change JWT payload format with Azure B2C custom policies

I would like to implement JWT SSO for Zendesk with Azure AD B2C custom policies. For some internal reasons, we cannot use SAML.

My problem is Zendesk requires that the return URI respect the format

https://yoursubdmain.zendesk.com/access/jwt?jwt={payload} 

But by default, using Microsoft samples , the return uri is:

    https://yoursubdmain.zendesk.com/access/jwt#id_token={payload} 

I am new user of custom policies, I have no idea how I can change the format of the Redirect URI.

You cannot change the way AAD B2C return the tokens in the query parameters. You might have to build a proxy to transform the response from AAD B2C and send it to zendesk. Or use SAML.

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