You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: address CodeRabbit review feedback for OIDC support
- Add nil guards for OIDCOAuthConfig/OIDCProvider in both handlers to
prevent nil pointer panic when OIDC is disabled
- Move AllowSignup check from start handler to CreateUser path so
existing OIDC users can still log in when signup is disabled
- Require email_verified before authorizing or linking by email
- Add UserInfo endpoint fallback when ID token lacks optional claims
(email, name, email_verified)
- Normalize BaseURL with TrimRight to prevent double-slash redirect URIs
- Add 30s timeout context for OIDC discovery at startup
- Enforce 'openid' scope is always present in configured scopes
- Add ScopesString field for reliable env var binding (matching existing
ServicesString/AllowedOriginsString pattern)
0 commit comments