userinfo_endpoint key in openid-configuration has incorrect capatlisation.
The property has incorrect capitalisation. The key should be in all lowercase as specified in the OIDC spec.
https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata
Code:
https://github.com/better-auth/better-auth/blob/ca0727a2243204f76d5ccf30c05904168c298179/packages/better-auth/src/plugins/oidc-provider/index.ts#L34
GitHub
better-auth/packages/better-auth/src/plugins/oidc-provider/index.ts...
The most comprehensive authentication framework for TypeScript - better-auth/better-auth
0 Replies