headless authentication Azure AD b2c

前端 未结 6 572
栀梦
栀梦 2020-12-03 17:18

I am looking for a way to authenticate a user by username/password in a headless manner for Azure AD b2c. Azure AD b2c is great but we feel the redirects for logins can lead

6条回答
  •  暖寄归人
    2020-12-03 18:07

    It is not currently possible to run Azure B2C without an interactive user present. While I am sure it will arrive at some point, at present, you can't create back-end applications based on B2C.

    According to the Azure Active Directory B2C preview: Limitations & Restrictions

    Daemons / Server Side Applications

    Applications that contain long running processes or that operate without the presence of a user also need a way to access secured resources, such as Web APIs. These applications can authenticate and get tokens using the application's identity (rather than a consumer's delegated identity) using the OAuth 2.0 client credentials flow. This flow is not yet available in Azure AD B2C preview - which is to say that applications can only get tokens after an interactive consumer sign-in flow has occurred.

提交回复
热议问题