You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking (security, #1): endpoints are https only. Plain http on a loopback host (localhost, 127.0.0.1, ::1) is no longer accepted for the authorization, token, device authorization and revocation endpoints, the issuer,
the discovery URL, the endpoints in fetched metadata, device verification URIs and the resource URLs of RequestAuthorizer. Local development servers need the new opt-in ClientConfiguration.allowsInsecureLoopbackEndpoints, which is also a parameter of Discovery.fetchMetadata(issuer:…), Endpoints.init(metadata:) and ClientConfiguration.init(metadata:…) (all
default false). A non-loopback http URL is refused even with it. Violations throw invalidConfiguration and the
message names the opt-in. http loopback redirect URIs (RFC 8252 §7.3) are unaffected. See ADR 0012.
Breaking (security, #2): the authorization code flow requires ClientConfiguration.issuer. beginAuthorization(_:), authorize(_:using:) and completeAuthorization(_:callbackURL:additionalParameters:)
throw invalidConfiguration, before any request, when it is nil. Before, a response iss was accepted unchecked
without a configured issuer. Comparison stays exact (RFC 9207 §2.4), and requiresIssuerInAuthorizationResponse still follows authorization_response_iss_parameter_supported when the
configuration comes from metadata. Servers without RFC 9207 need another mix-up defence, such as a distinct redirect
URI per authorization server; the device flow is not affected. See ADR 0013.