You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/auth
Shivaram Lingamneni e1cf760d2f
OIDC: case-insensitive comparison for auth scheme `Basic` (#31706)
@kylef pointed out on https://github.com/go-gitea/gitea/pull/31632 that
[RFC7617](https://www.rfc-editor.org/rfc/rfc7617.html#section-2)
mandates case-insensitive comparison of the scheme field `Basic`. #31632
copied a case-sensitive comparison from
https://github.com/go-gitea/gitea/pull/6293. This PR fixes both
comparisons.

The issue only affects OIDC, since the implementation for normal Gitea
endpoints is already correct:


930ca92d7c/services/auth/basic.go (L55-L58)
7 months ago
..
2fa.go Move context from modules to services (#29440) 1 year ago
auth.go allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
auth_test.go Refactor names (#31405) 8 months ago
linkaccount.go Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
main_test.go make writing main test easier (#27270) 1 year ago
oauth.go OIDC: case-insensitive comparison for auth scheme `Basic` (#31706) 7 months ago
oauth_test.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
openid.go Move context from modules to services (#29440) 1 year ago
password.go Clean up log messages (#30313) 11 months ago
webauthn.go Add Passkey login support (#31504) 8 months ago