Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth pulled info. #15693

Closed
tammer123 opened this issue Oct 29, 2019 · 3 comments · Fixed by #15690
Closed

OAuth pulled info. #15693

tammer123 opened this issue Oct 29, 2019 · 3 comments · Fixed by #15690

Comments

@tammer123
Copy link

Hello,

Is there a way to get both first name and family name to the Name field? OAuth I'm using gives me both, but I can't find a way to get them both.
And another things is : Is there a way to get E-Mail field added or filled by itself as well. Again, my OAuth gives the info.

@benkroeger
Copy link
Contributor

once #15690 landed, this can be achieved like so:
nameField: '{{first_name}} {{last_name}}'
emailField: '{{first_name}}.{{last_name}}@foo.com' or e.g. emailField: 'upn' (if your email value is provided in the upn property

@tammer123
Copy link
Author

But right now in the Custom OAuth section I only see 3 fields : Username, Name Field and Avatar Field, but no email field. How can I get the emailField in there?

@benkroeger
Copy link
Contributor

you can't. #15690 also adds the emailField feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants