Home > other >  Apple error "Invalid web redirect url." during Azure B2C user login flow
Apple error "Invalid web redirect url." during Azure B2C user login flow

Time:09-28

I'm trying to add Apple as an identity provider to my Azure B2C tenant, I have Microsoft and Google set up already and had no issues with either of those.

With Apple, I followed Apple error message

Anybody know why this might be? Or at least how to debug maybe at Apple's side to find out what it thinks the return URL should be or the actual value it's getting?

CodePudding user response:

Doc says Enter https://your-domain-name.b2clogin.com/your-tenant-name.onmicrosoft.com/oauth2/authresp. Replace your-tenant-name with the name of your tenant, and your-domain-name with your custom domain.

Should be https://login.myapp.net/myapp.onmicrosoft.com/oauth2/authresp

Looking in the browser dev tools network trace will show the redirect_uri parameter AAD B2C generates as part of the url to Apple. That value is what needs to be registered at Apple.

  • Related