-
Notifications
You must be signed in to change notification settings - Fork 275
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
VSCode plugin support #8840
base: develop
Are you sure you want to change the base?
VSCode plugin support #8840
Conversation
As this comment was not addressed in #8819 (and this is the PR which contains those changes now), I'll leave it here again so it is not lost/forgotten about:
|
theres gonna be a discussion on monday concerning this issue |
but to answer that its just the fetch API which is able to handle cookies. the problem is though that vscode plugins dont support cookie nor local storage |
I've looked into the fetch docs and it provides the |
It indeed does provide this method. But still if you call the method or in general print all headers the |
Screen.Recording.2024-06-22.at.16.32.17.movthats a request on the {base_url}/api/public/authenticate endpoint |
According to several online sources it seems like you have to set the
|
I'm aware that the fetch API does support cookies. But the vscode extension environment does not. So cookies wont work in a VSCode extension. |
Checklist
General
Server
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Changes affecting Programming Exercises
Motivation and Context
Description
closes #8777 adjust config for cors
closes #8817 API support bearer token
closes #8876 fetching Problem-statement support bearer
Steps for Testing
Prerequisites:
Exam Mode Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Performance Review
Code Review
Manual Tests
Exam Mode Test
Test Coverage
Screenshots