mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fixed linkedin oauth
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
Some checks failed
Runs E2E API Tests / build (20.x) (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (20.x) (push) Has been cancelled
Lint & build / lint_and_build (22.x) (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled
Publish Docs / run (push) Has been cancelled
This commit is contained in:
parent
747e0ebbbe
commit
a7584f05ad
@ -14,11 +14,13 @@ export class LinkedInProvider extends OAuthBaseProvider {
|
||||
static async create(options: { clientId: string, clientSecret: string }) {
|
||||
return new LinkedInProvider(
|
||||
...(await OAuthBaseProvider.createConstructorArgs({
|
||||
issuer: "https://www.linkedin.com",
|
||||
issuer: "https://www.linkedin.com/oauth",
|
||||
authorizationEndpoint: "https://www.linkedin.com/oauth/v2/authorization",
|
||||
tokenEndpoint: "https://www.linkedin.com/oauth/v2/accessToken",
|
||||
redirectUri: getEnvVariable("STACK_BASE_URL") + "/api/v1/auth/oauth/callback/linkedin",
|
||||
baseScope: "openid profile email",
|
||||
openid: true,
|
||||
jwksUri: "https://www.linkedin.com/oauth/openid/jwks",
|
||||
tokenEndpointAuthMethod: "client_secret_post",
|
||||
noPKCE: true,
|
||||
...options,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user