cool-kitchen-48091
10/03/2022, 7:59 AMFailed to resolve user name claim from profile provided by Identity Provider. Missing attribute. Attribute: 'preferred_username'
error.
The profile returned from google is missing the preferred_username
and username
as well, what do I need to do in order to add it to the profile sent back from google?
Is there a workaround?
These are the fields I’m getting from the profile provider:
{
at_hash=***,
sub=112764038129102833931,
email_verified=true,
id_token=***,
iss=<https://accounts.google.com>,
given_name=***,
locale=en,
picture=***,
token_expiration_advance=-1,
aud=[***.<http://apps.googleusercontent.com|apps.googleusercontent.com>],
azp=***.<http://apps.googleusercontent.com|apps.googleusercontent.com>,
name=*** ***,
hd=***.com,
exp=***,
family_name=***,
iat=***,
email=***@***.com
}
With AUTH_OIDC_USER_NAME_CLAIM=email
I’m getting Failed to perform post authentication steps. Error message: Failed to provision user with urn
cool-kitchen-48091
10/03/2022, 8:06 AM