Clarify use of secret in Microsoft Entra authentication docs

Open
#1,271 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale

Research direction

Open the Microsoft Entra authentication tutorial and read the “Configure your secrets” section, especially step 4 and the paragraph that follows. Clarify the server_metadata_url example and its account-scope guidance so readers know what value to supply; done when the snippet and surrounding explanation cannot be mistaken for a universal default.

Written by the indexing model from the issue text.

Description

docs

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

Dominant language
JavaScript
Stars
178
Forks
705
Avg merge
1d 13h
Merged PRs (30d)
39

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from streamlit/docs

All issues in streamlit/docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.