Fix HTTP: Use permissive CORS headers for .well-known endpoints
This commit is contained in:
@@ -456,6 +456,7 @@ impl OAuthApiHandler for Server {
|
||||
code_challenge_methods_supported: &["S256"],
|
||||
issuer: base_url.to_string(),
|
||||
})
|
||||
.into_http_response())
|
||||
.into_http_response()
|
||||
.with_cors_unrestricted())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,6 +99,7 @@ impl OpenIdHandler for Server {
|
||||
code_challenge_methods_supported: &["S256"],
|
||||
issuer: base_url.to_string(),
|
||||
})
|
||||
.into_http_response())
|
||||
.into_http_response()
|
||||
.with_cors_unrestricted())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user