oAuth - how to get user's ExternalEmail
We have the oAuth wired up, and I can use the oAuth code to call /users/whoami but this only gives me the user's Brightspace id (Identifier) - I need to get the user's ExternalEmail which I don't appear to be able to get anywhere except for /users/{userId}, and while I have the userId, this user does't have permission to call /users/{userId}.
Is there something like /users/whoami that gives the exteranalEmail or way for users to get their own /users/{userId}?
Answers
-
Hi there, for a specific situation such as this, it would be best to connect with your institution's Brightspace support team. If you need assistance with contacting your support team, please let me know and I can connect with you via DM here in the Community.
-
@Alex.V.58 can you connect me with support please? I don't have a solution to this problem yet. I am hoping there is a setting that opens up api permission to call /users/{userId} for one's self.
-
I will send you a DM!
-
Hi @Alex.V.58 , I'm interested in this too. The only way around things that I've found is to enable permissions for the "Manage Users" tool (in order to call
/users/{userId}
). Has there been any progress made toward allowing a user to access their own external email address via the API, without needing to enable the ability to see all user email addresses?Thanks!