Hello @Deepanshu katara , by default Single-page application sign-in using the OAuth 2.0 implicit flow in Azure Active Directory B2C will follow the response_mode=fragment
query parameter and use #
as response delimiter. If you want to use ?
as response delimiter you need to set the response_mode
query parameter to query
. Eg.
GET https://{tenant}.b2clogin.com/{tenant}.onmicrosoft.com/{policy}/oauth2/v2.0/authorize?
client_id=90c0fe63-bcf2-44d5-8fb7-b8bbc0b29dc6
&response_type=id_token+token
&redirect_uri=https%3A%2F%2Faadb2cplayground.azurewebsites.net%2F
&response_mode=query &scope=openid%20offline_access &state=arbitrary_data_you_can_receive_in_the_response
&nonce=12345
This also applies to the way you want to delimit the OAuth 2.0 authorization code flow in Azure Active Directory B2C response as documented in Get an authorization code.
Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.