mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-01 13:39:41 +00:00
- Remove Passport.js wrapper from OIDC auth, use openid-client directly - Add schema-driven OIDC settings UI (OidcSettingsSchema.js drives form rendering) - Add group mapping with KeyValueEditor (explicit mapping or legacy direct name match) - Add scopes configuration (authOpenIDScopes) - Add verified email enforcement option (authOpenIDRequireVerifiedEmail) - Fix group claim validation rejecting URN-style claims (#4744) - Add auto-discover endpoint for OIDC provider configuration - Store oidcIdToken in sessions table instead of cookie - Add AuthError class for structured error handling in auth flows - Migration v2.33.0 adds oidcIdToken column and new settings fields
9 lines
189 B
JavaScript
9 lines
189 B
JavaScript
class AuthError extends Error {
|
|
constructor(message, statusCode = 500) {
|
|
super(message)
|
|
this.statusCode = statusCode
|
|
this.name = 'AuthError'
|
|
}
|
|
}
|
|
|
|
module.exports = AuthError
|