Releases: atinux/nuxt-auth-utils
Releases · atinux/nuxt-auth-utils
v0.0.19
v0.0.18
v0.0.17
🩹 Fixes
- UserSession user type augmentation (#54)
You should now declare UserSession and User separated:
// auth.d.ts
declare module '#auth-utils' {
interface User {
id: number
name: string
}
interface UserSession {
loggedInAt: number
}
}
export {}🏡 Chore
❤️ Contributors
v0.0.16
🚀 Enhancements
- Add replaceUserSession() (#44)
🩹 Fixes
- google: Remove
redirectUrltype (#52)
🏡 Chore
❤️ Contributors
- Sébastien Chopin (@Atinux)
- Maximilian Götz-Mikus (@maximilianmikus)
- Harlan Wilton (@harlan-zw)
v0.0.15
🚀 Enhancements
🩹 Fixes
- Replace encoded space characters with regular spaces (#40)
🏡 Chore
- Up deps (a7bd06b)
❤️ Contributors
- Sébastien Chopin (@Atinux)
- Dvir Hazout [email protected]
- Silvio Eckl [email protected]
- Ahmed Rangel (@ahmedrangel)
v0.0.14
What's Changed
- chore: test bundler module resolution by @danielroe in #32
- feat: added keycloak as oauth provider by @kingyue737 in #23
New Contributors
- @kingyue737 made their first contribution in #23
Full Changelog: v0.0.13...v0.0.14
v0.0.13
v0.0.12
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