I am trying to integrate Azure AD B2C as OpenID Connect into PlayFab to support AD user to login into PlayFab, below are the steps which I have tried-
Azure AD B2C
- Registered Client app under B2C
- Create SignUp and SignIn User Flow
- Added Google and Facebook as Identity Provider under User Flow.
- Successfully able to login user using Google and Facebook.
PlayFab Configuration
Created Game title
Successfully able to add logins players using LoginWithCustomID, LoginWithFacebook.
OpenId Connect config in PlayFab:
- Under OpenId Connect, I have added Connection ID, Client ID, Client Secret and Issuer.
- Under Issuer, I have added entry as
https://{tenant-name}.b2clogin.com/{tenant-name}.onmicrosoft.com/b2c_1_signupsignin/v2.0
Problem:
When I am trying to hit LinkOpenIdConnect API from PlayFab, API is returning blow error-
{
"code": 403,
"status": "Forbidden",
"error": "NotAuthorized",
"errorCode": 1089,
"errorMessage": "IDX20803: Unable to obtain configuration from: 'https://{tenant-name}.b2clogin.com/{tenant-id}/v2.0/.well-known/openid-configuration'."
}
Could anyone please help me where I am doing wrong? Thank you in advance.