fix: disable callback URLs with protocols "javascript" and "data" (#1397)

This commit is contained in:
Alessandro (Ale) Segala
2026-04-02 17:01:44 -07:00
committed by GitHub
parent e825a58b39
commit 2b94535ade
6 changed files with 103 additions and 54 deletions

View File

@@ -125,9 +125,7 @@ func (s *OidcService) getJWKCache(ctx context.Context) (*jwk.Cache, error) {
func (s *OidcService) Authorize(ctx context.Context, input dto.AuthorizeOidcClientRequestDto, userID, ipAddress, userAgent string) (string, string, error) {
tx := s.db.Begin()
defer func() {
tx.Rollback()
}()
defer tx.Rollback()
var client model.OidcClient
err := tx.