swdc-vscode icon indicating copy to clipboard operation
swdc-vscode copied to clipboard

Extension Code Time not logging in within a Github Codespace

Open Gabriel2Mello opened this issue 1 year ago • 2 comments

Describe the bug A clear and concise description of what the bug is.

Extension Code Time not logging in within a Github Codespace.

ISSUE TYPE

  • Bug Report

Steps to reproduce

I made a video to show what's happening here > https://youtu.be/u6rpp_HkWfo

Expected behavior A clear and concise description of what you expected to happen.

To log in successfully in my account.

ACTUAL RESULTS

Nothing happens.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Plugin version v2.7.0

Additional context Add any other context about the problem here.

I usually connect my Code Time account using my local VSCode, but within a Github Codespace nothing happens.
I'm using the Microsoft Edge
Version 114.0.1823.41 (Official build) (64-bit)

Gabriel2Mello avatar Jun 07 '23 19:06 Gabriel2Mello

Thanks for the video. That totally doesn't work within Codespace. We are linking out to our website to log in and start a session there. We are probably using a VS Code API that doesn't work inside Codespace for it.

We'll take a look. Thanks again for the video, makes it really easy to see the issue.

mmclead avatar Jun 07 '23 20:06 mmclead

@Gabriel2Mello I'm using code-server and able to login for code time but I faced another issue, I have to setup my login again each time I have a new instance of chrome/new device

Filed a bug here https://github.com/swdotcom/swdc-vscode/issues/479

I suspect it is because the token is saved in the local browser storage, instead it should be save to the disk storage (on the remote server)

bilogic avatar Feb 22 '24 12:02 bilogic