docs icon indicating copy to clipboard operation
docs copied to clipboard

Clarify use of secret in Microsoft Entra authentication docs

Open philipnye opened this issue 10 months ago • 2 comments

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').

philipnye avatar Apr 03 '25 17:04 philipnye