AzureAD / microsoft-authentication-library-for-java

Microsoft Authentication Library (MSAL) for Java http://aka.ms/aadv2
MIT License
284 stars 142 forks source link

[Feature Request] MSAL Java support for CIAM custom authority #732

Closed bgavrilMS closed 1 week ago

bgavrilMS commented 10 months ago

MSAL client type

Public, Confidential

Problem Statement

CIAM will support custom authorities, which will require MSAL to perform OIDC discovery of the endpoints.

Blocked until we have a test environment.

Proposed solution

Recommendation is for MSAL to add support to WithGenericAuthority for user flows (consider renaming to WithOidcAuthority).

Since this is a general-purpose mechanism, we should also try to use a non-Microsoft authority, such as Facebook or Google. Concern is that client_info missing will mess up token caching logic

Alternatives

No response

Avery-Dunn commented 1 week ago

Support added in https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/851 and released in 1.17.0