refactor: Set up OAuthClient and oauthCallback entrypoint
gitlab-web-ide
Spike MR- ...
- Part 1 - refactor: Add AuthType to support OAuth (!247 - merged)
- Part 2 - refactor: Set up OAuthClient and oauthCallback ... (!250 - merged)
Description
- In the
example
package, this MR sets up the Auth Type dropdown withNone
,Token
, andOAuth (In Development)
. TheOAuth
one will not work yet. - In the new
oauth-client
package, this MR sets up the basic interface of this package with anOAuthClient
class that has stubbed out methods. - In the
vscode-bootstrap
package, we addoauth
handling to thegetAuthProvider
- In the main
web-ide
package, we introduce an entrypoint foroauthCallback
which is expected to be called bygitlab.com/-/ide/oauth_callback
. See the spike MR's for more context !240 (closed).
Screenshots
Auth: None
and Auth: Token
still work as expected
Edited by Paul Slaughter