microsoft / playwright-testing-service

MIT License
87 stars 13 forks source link

[BUG]:I cannot Sign In to the Playwright portal. #28

Closed azoom-y-ishii closed 1 year ago

azoom-y-ishii commented 1 year ago

Describe the bug After following the 'How to start' instructions in the README and enabling Playwright Testing on my subscription, when I try to Sign In from the Playwright portal, I get stuck on a screen that says 'Login In Progress'. The issue persists even after clearing browser cache and trying to log in from a clean browser.

To Reproduce Steps to reproduce the behavior:

  1. Step 1 'Access playwright portal'
  2. Step 2 'Click Sign In'
  3. Get stuck on a screen that says 'Login In Progress'

Expected behavior Navigate to the 'Create a workspace' screen.

Screenshots スクリーンショット 2023-09-12 10 09 48

Setup information (please complete the following information):

AB#1884122

puagarwa commented 1 year ago

HI @azoom-y-ishii, Sorry to hear that you have faced the issue while trying to onboard into our service. We will help you navigate through this and onboard. Looking at above screen shot it seems like some issue with your login which is missing some claims in token. In order for us to be able to debug more, would you mind sharing har file dump with us. Below are steps to help you get it.

Few other possible things typically prevent login issues are

azoom-y-ishii commented 1 year ago

@puagarwa

Thank you for your prompt response!

  • Share har file saved in step7 and snapshot in step 8

This is har file in step7 preview.playwright-int.io.har.zip

This is snapshot in step8 スクリーンショット 2023-09-12 16 19 55

I can see this site correctly

  • You could use some different browser to check the behavior

I've tried with Edge and Firefox, but the results are the same.

  • try and use private window if possible.

I've tried with Chrome incognito mode, but the results are the same.

  • Check which alias you are using to login, typically browser auto login with some existing alias.

I'm using email address to login, and I have no idea about alias.

puagarwa commented 1 year ago

Thanks @azoom-y-ishii for sharing the logs, we are able to repro the issue at our end. We are working on fix and will update you once fixed.

puagarwa commented 1 year ago

HI @azoom-y-ishii We have fixed the issue, please clear your cookies and cache and try to do login and confirm.

imartinflores commented 1 year ago

Hi there! Saw your message but thought to share in this thread. Basically the account I was using has access to AZ but was not an AZ account with all the needed permissions. I got one AZ account created with Contributor role and that solved the login issue for me.

azoom-y-ishii commented 1 year ago

@puagarwa I successfully signed in and confirmed that I can create a workspace! Thank you very much for your swift response! I'm looking forward to trying out this service now.

puagarwa commented 1 year ago

Good to hear that.