Skip to content

Releases: atinux/nuxt-auth-utils

v0.0.11

13 Dec 17:17
Compare
Choose a tag to compare

compare changes

🚀 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

07 Dec 14:31
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Added linkedIn auth provider (#13)

🩹 Fixes

  • Add audience to auth0 runtime config types (#27)

📖 Documentation

  • Add LinkedIn in providers (c9b9925)

🏡 Chore

❤️ Contributors

Full Changelog: v0.0.9...v0.0.10

v0.0.9

29 Nov 14:40
2fb01d3
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add max_age param for auth0 (#26)
  • Added Microsoft as oauth provider (#8)

❤️ Contributors

v0.0.8

21 Nov 18:02
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Avoid infinite loop with latest Nuxt (93b949d)

🏡 Chore

  • playground: Better with right title (97a3ad3)

❤️ Contributors

v0.0.7

20 Nov 16:41
5b060b8
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • oauth: Add generic OAuthConfig type (#18)

📖 Documentation

  • Use consistent reference to module (13daa78)

🏡 Chore

❤️ Contributors

v0.0.6

13 Nov 20:51
Compare
Choose a tag to compare

New OAuth Providers

Playground

New Contributors

Full Changelog: v0.0.5...v0.0.6

v0.0.5

09 Nov 11:14
ffecb82
Compare
Choose a tag to compare

compare changes

🚀 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

🏡 Chore

❤️ Contributors

Full Changelog: v0.0.4...v0.0.5

v0.0.4

07 Nov 17:01
Compare
Choose a tag to compare

compare changes

🩹 Fixes

🏡 Chore

❤️ Contributors

v0.0.3

07 Nov 16:35
15764a7
Compare
Choose a tag to compare

🚀 Enhancements

  • Allow users to UserSession typing (#2)

🩹 Fixes

  • Don't log warning about password when preparing types (804057b)
  • Import useRuntimeConfig (bdbb4b8)

🏡 Chore

🤖 CI

  • Run lint + test actions in ci (f50c1b5)

❤️ Contributors

v0.0.2

07 Nov 11:29
Compare
Choose a tag to compare