We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2513ee commit 0a8ba3dCopy full SHA for 0a8ba3d
auth/oauth.go
@@ -60,7 +60,7 @@ func fetch[T any](u *url.URL, dest *T) error {
60
}
61
62
func GetOpenIDConfig(issuer *url.URL) (config OpenIDConfig, err error) {
63
- for _, p := range []string{"oauth-authorization-server", "openid-configuration"} {
+ for _, p := range []string{"openid-configuration", "oauth-authorization-server"} {
64
u, _ := issuer.Parse("/.well-known/" + p)
65
66
err = fetch(u, &config)
0 commit comments