You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The password hashing currently uses scrpyt, with no way to change this. But Argon2 is recommended nowadays for hashing of passwords, so I think this should be the default.
Moreover, it would be nice if the password methods could be exposed, say via nuxt-auth-utils/password so that one can use them eg in tests or other contexts where nuxt is not available (eg seeding in a db). For this, maybe extract the useRuntimeConfig call and pass the config as a parameter. Alternatively, use tryUseNuxtApp to check if a nuxt app is available and only then query the runtime config.
The text was updated successfully, but these errors were encountered:
The password hashing currently uses scrpyt, with no way to change this. But Argon2 is recommended nowadays for hashing of passwords, so I think this should be the default.
Moreover, it would be nice if the password methods could be exposed, say via
nuxt-auth-utils/password
so that one can use them eg in tests or other contexts where nuxt is not available (eg seeding in a db). For this, maybe extract theuseRuntimeConfig
call and pass the config as a parameter. Alternatively, usetryUseNuxtApp
to check if a nuxt app is available and only then query the runtime config.The text was updated successfully, but these errors were encountered: