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

No longer able to login - get a token parsing error #2895

Closed
JK-WP opened this issue Nov 13, 2023 · 4 comments
Closed

No longer able to login - get a token parsing error #2895

JK-WP opened this issue Nov 13, 2023 · 4 comments
Assignees
Labels
Needs: Attention 👋 Author has responded to the issue ToTriage type:bug Something isn't working
Milestone

Comments

@JK-WP
Copy link

JK-WP commented Nov 13, 2023

Describe the bug
I am no longer able to login to MS Graph Explorer. When I try, I get an error message of "Authentication failed - token parsing error", as shown in the screenshot below. This was not happening when I last tried to use the Graph Explorer, a few weeks ago.

To Reproduce
Steps to reproduce the behavior:

  1. In a new InPrivate window, go to 'https://developer.microsoft.com/en-us/graph/graph-explorer'
  2. Click on 'Sign In'
  3. Proceed with the authentication process
  4. See error

Expected behavior
I would expect to be authenticated, and able to use the Graph Explorer against data in my employer's tenant (via use of a tenant=<id> query parameter)

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Edge
  • Version: 119.0.2151.58 (Official build) (64-bit)

Smartphone (please complete the following information):

  • Device: N/A

Additional context
Using developer tools, I can see that a set of tokens has been returned, and I can, for example, decode the access token to what looks like a valid jwt.

@ElinorW
Copy link
Collaborator

ElinorW commented Nov 14, 2023

Hi @JK-WP,
I am unable to reproduce this.
Have you tried clearing cache and signing in again? or signing in in incognito mode?
Let me know how if the result is still the same

@tts-tomohiro-uryu
Copy link

Sorry I jumped into this issue. We have a same issue.
Our display name is formed like "First Last (Company)/日本名". When I put the space before and after "/" like "First Last (Company) / 日本名", then the problem is gone.
I could reproduce this error in the different tenant so I think you can reproduce it as well.

@JK-WP
Copy link
Author

JK-WP commented Nov 15, 2023

Sorry I jumped into this issue. We have a same issue. Our display name is formed like "First Last (Company)/日本名". When I put the space before and after "/" like "First Last (Company) / 日本名", then the problem is gone. I could reproduce this error in the different tenant so I think you can reproduce it as well.

@tts-tomohiro-uryu Thanks for jumping in! Encouraging to hear you are seeing the same problem, which sounds like it matches my issue exactly, as my display name has a similar format to yours, with a katakana version of my name after the slash.

@ElinorW - Just to confirm, I've tried this on multiple browsers, on multiple OSes, including via incongnito mode, and the result is always the same failure, which makes me reasonably confident that this is a real issue, and the feedback from @tts-tomohiro-uryu provides good insight into the likely cause. Please could you adjust your display name to include a forward slash, and try again? Since I wasn't seeing this problem a couple of weeks ago, I suspect something must have changed in the way tokens are being decoded and parsed, which is now stumbling when it finds a slash embedded in the display name.

@ElinorW
Copy link
Collaborator

ElinorW commented Nov 15, 2023

@JK-WP @tts-tomohiro-uryu , this is now resolved

@ElinorW ElinorW closed this as completed Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Attention 👋 Author has responded to the issue ToTriage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants