vscode-coder
vscode-coder copied to clipboard
Skip token when a certificate is set
No need to do token auth in this case as the certificate is handling it.
- [ ] Login (just skip the token prompt entirely)
- [ ] Omit token for any queries we run (workspace status for example)
- [ ] 401 response (just error, omit login button)
We do this already for the Login case (no prompt if we have a certificate), see:
https://github.com/coder/vscode-coder/blob/a1ad85e03e1f92116a2771a67a3d34561d9a807c/src/api/utils.ts#L14-L20
Though I am not sure if we omit the token in the requests we send or not, also no omitting of the login button 🤔