Skip to content

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

Description

@corticalstack

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions