-
Notifications
You must be signed in to change notification settings - Fork 893
Description
URL of sample
Describe the bug
The README instructs the user to create only one redirect URL when registering the app in Entra; specifically brk-multihub://localhost:3000
. This is the sentence: "In the Redirect URI section, ensure that Single-page application (SPA) is selected in the drop down and then set the URI to brk-multihub://localhost:3000
."
But I get an error when I press either of the buttons on the task pane saying that the redirect URL in the request, https://localhost:3000/taskpane.html
, is not in the list of redirect URLs.
I went back to the registration and added an additional redirect URL for https://localhost:3000/taskpane.html
. This fixed the error and everything works.
Unless there's something going on that I don't understand, I think the README should be updated to instruct the user to add the additional redirect URL.
To Reproduce
Steps to reproduce the behavior:
- Just follow the README instructions until you press a button on the task pane. Then you'll get the error.
Expected behavior
The user data is fetched when a button is pushed.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- Platform [PC desktop, Mac, iOS, Office Online]: PC desktop
- Host [Excel, Word, PowerPoint, etc.]: reproduced with Excel and Word
- Office version number: 2507 (Build 19008.20000)
- Operating System: Win11
- Browser (if using Office Online): ______
Additional context
FWIW, I notice that the READMEs for some of the other samples that have "NAA" in the title DO instruct the user to add more than one Redirect URL when registering the add-in.