Getting azure's upn attribute
Gilwe opened this issue · comments
Im trying to create an integration with azure but auth0 notifies that sometime azure wont send to auth0 the user's email upon creation so auth0 will get the user's upn (UserPrincipalName) which is an applicable replacement, that most of the times will hold the email.
I can issue a PR that will add it to User in management/user.go
but would like to know if there's a more elegant way of getting that upn
attribute when querying a user.
Thank you.
Hi @Gilwe, if the Auth0 management API contains the upn
field, you are welcome to add it.
Closed and cloned this issue to auth0/go-auth0#15