Releases: atinux/nuxt-auth-utils
Releases · atinux/nuxt-auth-utils
v0.0.11
🚀 Enhancements
Add sessionHooks
to extend or invalidate user sessions, as well as logging:
// server/plugins/session.ts
export default defineNitroPlugin(() => {
sessionHooks.hook('fetch', async (session, event) => {
// extend User Session by calling your database
// or
// throw createError({ ... }) if session is invalid for example
})
sessionHooks.hook('clear', async (session, event) => {
// Log that user logged out
})
})
v0.0.10
🚀 Enhancements
- Added linkedIn auth provider (#13)
🩹 Fixes
- Add audience to auth0 runtime config types (#27)
📖 Documentation
- Add LinkedIn in providers (c9b9925)
🏡 Chore
- Update deps (bb3a510)
❤️ Contributors
Full Changelog: v0.0.9...v0.0.10
v0.0.9
v0.0.8
v0.0.7
🩹 Fixes
- oauth: Add generic OAuthConfig type (#18)
📖 Documentation
- Use consistent reference to module (13daa78)
🏡 Chore
- Add SameSite=lax (1b296e2)
❤️ Contributors
- Sigve Hansen (@sifferhans)
- Daniel Roe [email protected]
- Sébastien Chopin (@Atinux)
v0.0.6
New OAuth Providers
- Discord by @justserdar in #7
- Battle.net by @samulefevre in #11
Playground
- feat: refactor login buttons to use dropdown by @arashsheyda in #14
New Contributors
- @justserdar made their first contribution in #7
- @samulefevre made their first contribution in #11
- @arashsheyda made their first contribution in #14
Full Changelog: v0.0.5...v0.0.6
v0.0.5
🚀 Enhancements
- Added Google as oauth provider (#3)
- Added Twitch as supported oauth provider (#5)
- Added Auth0 as oauth provider (#6)
💅 Refactors
- Use
useSession
generic rather than assertion (#4)
📖 Documentation
- Add demo (cbc8b7a)
🏡 Chore
- release: V0.0.4 (2bc6f9a)
❤️ Contributors
- @aksharahegde made their first contribution in #3
- @ahmedrangel made their first contribution in #5
- @Gerbuuun made their first contribution in #4
- @Azurency made their first contribution in #6
Full Changelog: v0.0.4...v0.0.5
v0.0.4
🩹 Fixes
- Use import presets (f16ebc9)
🏡 Chore
❤️ Contributors
- Daniel Roe (@danielroe)
- Sébastien Chopin (@Atinux)
v0.0.3
🚀 Enhancements
- Allow users to
UserSession
typing (#2)
🩹 Fixes
🏡 Chore
- Remove
.nuxtrc
(3f96e97) - Add type testing script (e9ffa5e)
- Move playground into workspace (bd8108c)
- Add playground type test (74f452c)
🤖 CI
- Run lint + test actions in ci (f50c1b5)
❤️ Contributors
- Daniel Roe (@danielroe)
- Sébastien Chopin (@Atinux)
v0.0.2
Full Changelog: v0.0.1...v0.0.2