mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-21 10:15:04 +02:00
fix(oidc): use preferred_username/name claim for auto-created username When auto-creating an OIDC user without a valid email claim, derive the username from preferred_username or name IdP claims instead of falling back to the opaque provider_sub[:30].
This commit is contained in:
@@ -2682,6 +2682,7 @@ export interface OIDCProvider {
|
||||
email_claim: string;
|
||||
require_email_verified: boolean;
|
||||
icon_url?: string | null;
|
||||
default_group_id?: number | null;
|
||||
}
|
||||
|
||||
export interface OIDCProviderCreate {
|
||||
@@ -2696,6 +2697,7 @@ export interface OIDCProviderCreate {
|
||||
email_claim?: string;
|
||||
require_email_verified?: boolean;
|
||||
icon_url?: string | null;
|
||||
default_group_id?: number | null;
|
||||
}
|
||||
|
||||
export interface OIDCLink {
|
||||
|
||||
Reference in New Issue
Block a user