Azure AD B2C Authentication

Is there an example of using Azure AD B2C for authentication to ServiceStack API?

We user Azure AD B2C, and it would be nice to tie into that for user authentication.

Is there also a way in addition to user authentication above to control what applications can call the APIs? Right now, we are just using http basic auth for server to server authentication and allowing the application to provide the AD B2C user id.

Currently there is no implementation for Azure Active Directory Authentication which is officially supported by ServiceStack, but there are some community supported libraries which provide Azure Active Directory Authentication for ServiceStack. One of them you can find here:

We’re also maintaining the list of community Auth Providers at: http://docs.servicestack.net/authentication-and-authorization#community-auth-providers