I am trying to do SSO between azureB2C and salesforce Auth where azure b2c will act as IDP and when i login to azure hosted page , it sould redirect me to salsforce page but everytime i am getting error as either Oauth_state mission OR this error: We can’t log you in because of the following error.
Id_Token_Error: Missing or invalid sub , i tried with bydefault azure b2c signinflow as well as custom policy sign in flow and correct redirect URL from salesforce is provided in azure B2C appregistration but error still persist
Use the login history to determine whether a login error is related to the SAML assertion or to your SSO configuration.
If you see any of these errors in the login history, use the SAML Assertion Validator to find the specific error in the assertion.
Ensure The SF Auth. Provider token issuer field needs to be correct.
Ensure the user you are testing with should be present in salesforce and correctly configured-:
- Align the information from the identity provider and the Salesforce User table.
- Make sure the subject sent by the identity provider matches the field you choose in the User table.
- Note that the matching is case-sensitive.