mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: move oauth2 routes (#12240)
* fix: move oauth2 routes From /login/oauth2/* to /oauth2/*. /login/oauth2 causes /login to no longer get served by the frontend, even if nothing is actually served on /login itself. * Add forgotten comment on delete
This commit is contained in:
@@ -3411,8 +3411,8 @@ export const MockOAuth2ProviderApps: TypesGen.OAuth2ProviderApp[] = [
|
||||
callback_url: "http://localhost:3001",
|
||||
icon: "/icon/github.svg",
|
||||
endpoints: {
|
||||
authorization: "http://localhost:3001/login/oauth2/authorize",
|
||||
token: "http://localhost:3001/login/oauth2/token",
|
||||
authorization: "http://localhost:3001/oauth2/authorize",
|
||||
token: "http://localhost:3001/oauth2/token",
|
||||
device_authorization: "",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user