Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to create an email alias for a JWT app?

New post


1 comment

  • Official comment

    Hi Anirudh,

    You're pretty close! The field you're looking for is "login", on that current_user object. If you take a look at the type of the object returned by client.user().get(), you'll see

    <class 'boxsdk.object.user.User'>

    So, to print out the actual email address to use for collaboration invitations, you'd want to access the 'login' field with something like


    Hope that helps! Please let us know if this works for you. 

    Comment actions Permalink

Please sign in to leave a comment.