Skip to content
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

Intermittent issue where authentication tab shows invalid state #25

Open
DHaussermann opened this issue Oct 26, 2020 · 4 comments
Open
Assignees
Labels
Difficulty/2:Medium Medium ticket Hacktoberfest Help Wanted Community help wanted Tech/Go Type/Bug Something isn't working Up For Grabs Ready for help from the community. Removed when someone volunteers

Comments

@DHaussermann
Copy link

DHaussermann commented Oct 26, 2020

There seems to be an intermittent issue where the tab used to authenticate to Azure shows invalid state.

This did not occur on each attempt. Interestingly. The user connected without issue and there seem to be no functional problems.

I saw no indication in the logs as to why the browser said invalid state and the authentication seemed to work fine.

Steps used:

  • Login to Mattermost
  • Type /msteams start
  • Click the connection link (opens in a new tab)
  • Provide credetials

Observed: Invalid State
Expected: Message that authentication succeeded and I should close the tab.

MS-TeamsInavlidUser

@DHaussermann DHaussermann added Triage Type/Bug Something isn't working labels Oct 26, 2020
@DHaussermann
Copy link
Author

@larkox do you have any suggestions as to a possible cause for this issue as it seems to be intermittent.

@larkox
Copy link
Contributor

larkox commented Oct 26, 2020

It is weird that it is intermitent, but I think where I have to look. Will try to fix.

@DHaussermann
Copy link
Author

DHaussermann commented Nov 12, 2020

@larkox I can reproduce this issue today.
Screen Shot 2020-11-12 at 10 58 00 AM

Strangely, it seems that the auth works as a meeting was created for the affected user. Logs showed no record for MS teams after the message that user had to connect an account.
Screen Shot 2020-11-12 at 10 59 56 AM

Steps:

  • Deployed build f00ca1ce
  • Get team invite link
  • Open new incognito session
  • Create a new user and login
  • Type /mstmeetings start
  • Click on the connection link
  • In new tab - login as test user (Sent DM)

Expected: Message that authentication worked and tab should be closed
Observed Invalid state message

@hanzei hanzei added Difficulty/2:Medium Medium ticket Help Wanted Community help wanted Tech/Go Up For Grabs Ready for help from the community. Removed when someone volunteers labels May 27, 2021
@AayushChaudhary0001
Copy link

@wiggin77 I tried to reproduce the issue but was not able to do so.
Observed behaviour: When I clicked the connection link and entered the credentials, I did not see any invalid state message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/2:Medium Medium ticket Hacktoberfest Help Wanted Community help wanted Tech/Go Type/Bug Something isn't working Up For Grabs Ready for help from the community. Removed when someone volunteers
Projects
None yet
Development

No branches or pull requests

6 participants