Skip to content

Commit

Permalink
feat(social authentication): added linkedin openid connect config (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicOuth authored Feb 25, 2025
1 parent 923a672 commit 42a30e9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ html.dark {
border-radius: 0 0 7px 7px;
}

.disclosure_wrapper .disclosure_panel p {
margin-top: 12px;
}

@media (min-width: 1440px) {
.markdown .table_expanded {
max-width: 120%;
Expand Down
20 changes: 19 additions & 1 deletion content/docs/authentication/social_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,9 @@ The following is the complete configuration reference for all the drivers. You c
:::
:::disclosure{title="LinkedIn config"}
:::disclosure{title="LinkedIn config (deprecated)"}
This configuration is deprecated in compliance with the updated [LinkedIn OAuth requirements](https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/sign-in-with-linkedin).
```ts
{
Expand All @@ -430,6 +432,22 @@ The following is the complete configuration reference for all the drivers. You c
})
}
```
:::
:::disclosure{title="LinkedIn Openid Connect config"}
```ts
{
linkedin: services.linkedinOpenidConnect({
clientId: '',
clientSecret: '',
callbackUrl: '',

// LinkedIn specific
scopes: ['openid', 'profile', 'email'],
})
}
```
:::
Expand Down

0 comments on commit 42a30e9

Please sign in to comment.