AzureAD / microsoft-authentication-library-common-for-android

Common code used by both the Active Directory Authentication Library (ADAL) and the Microsoft Authentication Library (MSAL)
MIT License
41 stars 35 forks source link

CIAM custom url domains #2314

Closed SammyO closed 8 months ago

SammyO commented 8 months ago

This PR adds support for CIAM custom URL domains (CUD), through addressing the following:

  1. A new way of composing authority URL, with format https://<tenantName>.ciamlogin.com/<tenantId> or https://custom.domain.com/<tenantId> to allow for OIDC lookup.
  2. Token endpoint is taken from OIDC document, if available. (authorization endpoint was already taken from OIDC document)

MSAL PR: https://github.com/AzureAD/microsoft-authentication-library-for-android/pull/2029