mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-04 06:43:16 +00:00
fix(oidc): change default oidc username claim to be email (#6220)
This commit is contained in:
parent
ebd052ec43
commit
d905cdffc1
@ -42,7 +42,7 @@ public class OidcConfigs extends SsoConfigs {
|
|||||||
/**
|
/**
|
||||||
* Default values
|
* Default values
|
||||||
*/
|
*/
|
||||||
private static final String DEFAULT_OIDC_USERNAME_CLAIM = "preferred_username";
|
private static final String DEFAULT_OIDC_USERNAME_CLAIM = "email";
|
||||||
private static final String DEFAULT_OIDC_USERNAME_CLAIM_REGEX = "(.*)";
|
private static final String DEFAULT_OIDC_USERNAME_CLAIM_REGEX = "(.*)";
|
||||||
private static final String DEFAULT_OIDC_SCOPE = "openid profile email"; // Often "group" must be included for groups.
|
private static final String DEFAULT_OIDC_SCOPE = "openid profile email"; // Often "group" must be included for groups.
|
||||||
private static final String DEFAULT_OIDC_CLIENT_NAME = "oidc";
|
private static final String DEFAULT_OIDC_CLIENT_NAME = "oidc";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user