简体   繁体   中英

Xamarin Forms and Azure AD B2C login issues

I am trying to figure out how to use Azure AD B2C with Xamarin Forms. All the examples and documentation from Microsoft has said do no use this in production for the last year. Even a blog post from last week says this.

https://azure.microsoft.com/en-us/resources/samples/active-directory-b2c-xamarin-native/

What other options do we have?

As you've indicated, MSAL is in preview and therefore not production ready. Work is ongoing to get MSAL to a production support level. I would recommend that you vote for this ask in the Azure AD B2C forum to support it and get updates on its progress: Production support for MSAL

Given that, at this point your options are:

  • Wait for MSAL production support.
  • Find and use a third party Xamarin OpenID Connect library.
  • Code down to the protocol yourself.

UPDATE: MSAL is now supported in production. Read this blog post for more info

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM