Skip to content

User selection dialog always shows up everytime for NAA-SSO in outlook clients using IE. #960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
glr0221 opened this issue Apr 24, 2025 · 1 comment

Comments

@glr0221
Copy link

glr0221 commented Apr 24, 2025

URL of sample
Outlook-Add-in-SSO-NAA-IE

Describe the bug
I am unsure if this is a bug or is by design. The select user dialog always shows whenever getTokenWithDialogApi() is called.

To Reproduce
Please run the sample as is and run it on a IE-backed outlook client.

Steps to reproduce the behavior:

  1. Install the sample provided in the URL.
  2. Open the sample addin in an IE-backed outlook client.
  3. The dialog to select a user pops up. Click on the user and allow it to succeed.
  4. Close the addin.
  5. Open the sample addin again in the same IE-backed outlook client.
  6. The dialog to select a user pops up again. Click on the user and allow it to succeed.

Expected behavior
I don't know if this is expected behavior or not. Thank you.

Environment

  • Platform [PC desktop, Mac, iOS, Office Online]: PC
  • Host [Excel, Word, PowerPoint, etc.]: Outlook
  • Office version number: Any IE-backed Outlook client
  • Operating System: Windows
  • Browser (if using Office Online): NA

Additional context
We wanted to check if this is expected behavior. Is it expected to ask the user to select an account every time the dialog pops up? Thank you.

@AlexJerabek
Copy link
Collaborator

Thanks for raising this question @glr0221.

@codexeon, could you please weigh in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants