We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a067b6 commit 7a7cff1Copy full SHA for 7a7cff1
src/auth/CommandLogin.ts
@@ -59,7 +59,7 @@ class CommandLogin extends CommandPolykey {
59
const targetURL = new URL(
60
url.endsWith('/') ? url.slice(0, url.length) : url,
61
);
62
- const subPath: string = options.returnURLPath ?? '/api/oauth2/oidc';
+ const subPath: string = options.returnURLPath ?? '/oauth2/oidc';
63
targetURL.pathname = subPath.startsWith('/') ? subPath : `/${subPath}`;
64
targetURL.searchParams.append('token', compactHeader);
65
0 commit comments