swdotcom / swdc-vscode

Time-tracking plugin for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode
Apache License 2.0
456 stars 46 forks source link

Extension Code Time not logging in within a Github Codespace #461

Open Gabriel2Mello opened 1 year ago

Gabriel2Mello commented 1 year ago

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

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):

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)
mmclead commented 1 year ago

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.

bilogic commented 8 months ago

@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)