-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,169 additions
and
2,559 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,32 @@ | ||
# Changelog | ||
|
||
|
||
## v0.0.10 | ||
|
||
[compare changes](https://github.com/Atinux/nuxt-auth-utils/compare/v0.0.9...v0.0.10) | ||
|
||
### 🚀 Enhancements | ||
|
||
- Added linkedIn auth provider ([#13](https://github.com/Atinux/nuxt-auth-utils/pull/13)) | ||
|
||
### 🩹 Fixes | ||
|
||
- Add audience to auth0 runtime config types ([#27](https://github.com/Atinux/nuxt-auth-utils/pull/27)) | ||
|
||
### 📖 Documentation | ||
|
||
- Add LinkedIn in providers ([c9b9925](https://github.com/Atinux/nuxt-auth-utils/commit/c9b9925)) | ||
|
||
### 🏡 Chore | ||
|
||
- Update deps ([bb3a510](https://github.com/Atinux/nuxt-auth-utils/commit/bb3a510)) | ||
|
||
### ❤️ Contributors | ||
|
||
- Sébastien Chopin ([@Atinux](http://github.com/Atinux)) | ||
- José Manuel Madriaza Caravia | ||
- H+ <[email protected]> | ||
|
||
## v0.0.9 | ||
|
||
[compare changes](https://github.com/Atinux/nuxt-auth-utils/compare/v0.0.8...v0.0.9) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export default oauth.linkedinEventHandler({ | ||
config: { | ||
emailRequired: true | ||
}, | ||
async onSuccess(event, { user }) { | ||
await setUserSession(event, { | ||
user: { | ||
linkedin: user, | ||
}, | ||
loggedInAt: Date.now() | ||
}) | ||
|
||
return sendRedirect(event, '/') | ||
} | ||
}) |
Oops, something went wrong.