azureB2C custom policy to salesforce Integration

Rajpura, Riddhi 0 Reputation points
2025-01-15T15:22:37.7933333+00:00

I am establishing connection between azureB2C and salesforce , i am using custom policy - signupsignin for user login via azure to salesforce.

i am sending JSON response from azure to salesforce like this attached with my redirect uri as query parameters but salesforce is not recognizing state parameter here and throwing error and if i sent response in JWT format salesforce will not accept it , salesforce need JSON response , do we have any option on azure b2c to modify this responseformat :

response:

{"state":"CAAAAZRqW9ZhMDAwMDAwMDAwMDAwMDAwAAAA_pBgsUnr6H28h_bqhKc80pymPNI62TtOsoq5hRUIpwQ7wcipxxuW-Q8OXG9cvVx6xMgICrNqDKrHpbvwqABs6t491lIooTm1POEEUjW6SGCkBqJLPBJIWSsetFpWV2Fjp-xejr1jSwH-2MboT1XLt3drVIhBqBD9SKyrpips0WTNVW1ThoEJWg72wFWpM3Kog74ZTcM_vZH82lNVCv2xVY4y5gRsRIesLRdvtNtsxfNPQWvZAE8tGLGkKyjA_-AD7pfNOtOYA1A_nyF4C7UIRMEHmhm6bXXNMBvAR6YJERV6lyruliGgHxCASa3vZu_XYe4X53gNpDslYq6ycRvIXto=","sub":"f5e05428-95c9-4ae2-8e4c-3007f9f73320","given_name":"abc","family_name":"xyz","full_name":"abcxyz","preferred_username":"xyz@gmail.com"}

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,987 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.