imporve oauth provider UI/UX (#2983)
* feat: imporve UI/UX * fix: stabilize provider enabled toggle and polish custom OAuth settings UX * fix: add access policy/message templates and persist advanced fields reliably * fix: move template fill actions below fields and keep advanced form flow cleaner
This commit is contained in:
@@ -57,3 +57,12 @@ func NewOAuthErrorWithRaw(msgKey string, params map[string]any, rawError string)
|
||||
RawError: rawError,
|
||||
}
|
||||
}
|
||||
|
||||
// AccessDeniedError is a direct user-facing access denial message.
|
||||
type AccessDeniedError struct {
|
||||
Message string
|
||||
}
|
||||
|
||||
func (e *AccessDeniedError) Error() string {
|
||||
return e.Message
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user