effectiveClientId property

String get effectiveClientId

The client_id value presented on authorization/token requests.

SEP-991 (CIMD): when OAuthConfig.clientIdMetadataUrl is set, the client identifies itself with that https URL instead of a pre-registered id. Falls back to OAuthConfig.clientId otherwise. Additive — behavior is unchanged when the metadata URL is null.

Implementation

String get effectiveClientId =>
    config.clientIdMetadataUrl ?? config.clientId;