How to get application login/email before using application?
Is there a way for an app owner to get an app's login/email (e.g. ***email address removed for privacy***) before you begin writing code for the app?
Or is a ticket to support the best way?
Use case: we may have "apps" that are configured through the Developer Console, for the purpose of supporting vendor-provided integrations, and want to either track activity from that integration or restrict that app to certain folders through collaborations. The users who configure these apps may or may not be software developers themselves.
-
Ahhh thanks for clarifying! I believe you're talking about a JWT app's service account, which is created as soon as the app is authorized in the admin console. For example: AutomationUser_567802_XXXXXXX@boxdevedition.com
This will always be in the format: AutomationUser_(application service id) _ random string @boxdevedition.com
1.) Via the UI - you can use the admin console > content manager > search for the name of the app > right click on the app name and select "login to user's account" > from within in this account use the top right hand corner go to account settings > the email address will be shown under "login and email addresses"
2.) Via the API: Use the default token for a JWT application, which will be for the Service Account (AutomationUser) and use the endpoint: https://developer.box.com/reference#get-the-current-users-information
We do have on our roadmap to better expose this information so keep an eye out! 🙂
-
Hello,
It appears you are a co-admin, which is why this is occurring. Your primary admin will need to do this or you will need to opt for #2 above and make a call to this endpoint: https://developer.box.com/reference#get-the-current-users-information.
Best,
Kourtney
Please sign in to leave a comment.
Comments
6 comments