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

Accessing AAD authenticated, logged in user details (e.g. name/email) from deployed app service python web app #57

Open
corticalstack opened this issue Dec 3, 2021 · 0 comments

Comments

@corticalstack
Copy link

Hi,

Specifically for a Python web app (Streamlit framework) deployed as a containerised app service, I need to access details of the AAD authenticated user, such as name and email address. I've tried:

  • the /.auth/me endpoint. Just returns empty list
  • Checking speical headers such as X-MS-CLIENT-PRINCIPAL-NAME and X-MS-CLIENT-PRINCIPAL-ID in the request. Don't exist.

This should be possible. Any guidance appreciated.
Thanks

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

No branches or pull requests

2 participants
@corticalstack and others