Skip to content

Clarify use of secret in Microsoft Entra authentication docs #1271

@philipnye

Description

@philipnye

Link to doc page in question (if any): https://docs.streamlit.io/develop/tutorials/authentication/microsoft

Name of the Streamlit feature whose docs need improvement: Authentication using Microsoft Entra

What you think the docs should say: This is a really great tutorial but there's one area where I think people might go wrong if they're not paying attention, which would be worth clarifying.

Under Configure your secrets, step 4, the code snippet includes server_metadata_url = "https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration". This would be clearer as server_metadata_url = "xxx".

The paragraph of text that follows states that server_metadata_url is a string that the user needs to supply, but is easy to miss. The string used in the code snippet only works if people allow access to the app using personal Microsoft accounts ('consumers').

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions