Skip to content

Releases: Atinux/nuxt-auth-utils

v0.0.25

16 May 08:17
8e53936
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add fields support to facebook provider (8e53936)

🏡 Chore

  • Update to latest @nuxt/module-builder (c9e4ff7)

❤️ Contributors

v0.0.24

19 Apr 07:48
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add facebook OAuth provider (777d8b2)

🏡 Chore

❤️ Contributors

v0.0.23

17 Apr 15:28
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add opts to requireUserSession for error message and status code customization (015e847)

🩹 Fixes

  • Avoid duplicate trigger of session fetch hook due to request retry (5fac9a1)

📖 Documentation

  • Removed reference to /api in readme (#77)

🏡 Chore

❤️ Contributors

v0.0.22

03 Apr 17:12
77c82e7
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add redirectUrl to OAuthMicrosoftConfig for HTTP vs HTTPS Handling (50ba6fe)

🩹 Fixes

  • types: Narrowed session type passed to fetch session hook (77c82e7)

📖 Documentation

  • Use new nuxi module add command in installation (d64b9d3)
  • Improve readme (00c8287)

❤️ Contributors

v0.0.21

22 Mar 19:13
Compare
Choose a tag to compare

compare changes

✨ Improvements

  • add userURL from google provider to be configurable (#70)

❤️ Contributors

v0.0.20

26 Feb 23:40
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Leverage NUXT_SESSION_PASSWORD provided at runtime (4932959)

❤️ Contributors

v0.0.19

23 Feb 10:46
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Generate NUXT_SESSION_PASSWORD and throw if not set in production (de890ed)
  • Leverage runtimeConfig to check password (7c23543)

🏡 Chore

❤️ Contributors

v0.0.18

17 Feb 16:22
5c79590
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add authorizationParams in oauth config (#56)

🩹 Fixes

  • UserSession user type augmentation (#54)
  • User session types (#55)

📖 Documentation

🏡 Chore

❤️ Contributors

v0.0.17

16 Feb 12:11
Compare
Choose a tag to compare

compare changes

🩹 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

13 Feb 15:11
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add replaceUserSession() (#44)

🩹 Fixes

  • google: Remove redirectUrl type (#52)

🏡 Chore

❤️ Contributors