We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d89bc45 commit e89f282Copy full SHA for e89f282
.changeset/ten-pans-invent.md
@@ -0,0 +1,5 @@
1
+---
2
+"@openauthjs/openauth": patch
3
4
+
5
+add linkedin adapter
packages/openauth/src/adapter/linkedin.ts
@@ -0,0 +1,12 @@
+import { Oauth2Adapter, type Oauth2WrappedConfig } from "./oauth2.js"
+export function LinkedInAdapter(config: Oauth2WrappedConfig) {
+ return Oauth2Adapter({
+ ...config,
6
+ type: "linkedin",
7
+ endpoint: {
8
+ authorization: "https://www.linkedin.com/oauth/v2/authorization",
9
+ token: "https://www.linkedin.com/oauth/v2/accessToken",
10
+ },
11
+ })
12
+}
0 commit comments