Hi there —
to begin with: I have read many topics here on the forum that at least seemed to have the same issue as I do, but either there was no answer or the answer provided did not help me solve my problem. So here it is: I am trying to connect Azure AD B2C and successfully have the Card in Alexa open start the flow. However, after logging in and being redirected to https://pitangui.amazon.com/api/skill/link/KEY I am just receiving a blank page with a HTTP 401.
If I look at the http requests and the data that is exchanged everything looks good, so I am not sure, what actually is wrong here.
I have decided to use the Auth Code Grant with the following URLs, Settings:
Authorization URI: https://login.microsoftonline.com/mytenant.onmicrosoft.com/oauth2/v2.0/authorize?p=B2C_1_ALEXA_sign&nonce=defaultNonce&redirect_uri=https%3A%2F%2Fpitangui.amazon.com%2Fapi%2Fskill%2Flink%KEY&response_type=code&response_mode=form_post
Client ID/ Secret: Azure B2C App ID / Key
Client Authentication Scheme: HTTP Basic
Domain List: login.microsoft.com
I can also provide some information on how I set up the App and Policy, but since that works as expected, I don't think that has an issue.
The problem is, that the target url is somewhat a black box given the blank page without any information apart from the http error code. Is there any way I can debug this error further or do you spot any configuration error from what I have set above?