question

MiroGeorgiev-1586 avatar image
0 Votes"
MiroGeorgiev-1586 asked soumi-MSFT answered

Is it normal that Twitter provider in Azure B2C does not return idp_access_token?

I have my Azure B2C app set up with multiple providers (Facebook, Google, Apple, Twitter) but it seems I never get the idp_access_token claim for Twitter. The access token application claim is checked in the user flow being used to authenticate. I do not get any error messages and the authentication is always successful. I get the rest of the claims just fine.

Is this normal behavior for the Twitter provider or is it perhaps something not correctly configured ?

azure-ad-b2c
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

soumi-MSFT avatar image
0 Votes"
soumi-MSFT answered

@MiroGeorgiev-1586, As far as I know once the user is authenticated, for all the IDPs you only get the ID token or the profile details of the user, which B2C can use to understand if the user is successfully authenticated by the IDP (Google, Facebook, Twitter, GitHub etc.)or not. The access-token is mostly used to call another resource protected by that particular IDP. Now post authentication if B2C goes ahead and requests for any other resource or calls any API protected by that IDP, thats when B2C will send a request asking the respective IDP to send the access-token, so that using that access-token B2C call that respective procted resource or api.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.