Session and Tokens best practices - nuxt-auth-utils
I'm looking for advice on securely storing user credentials when using Discord as an OAuth provider. I need to check if a user is part of certain Discord servers to validate their access to some APIs. I'm not sure how to securely store the Discord tokens for this purpose. I know they shouldn't be stored in a session, but I'm considering using a KV database.
I'm just looking for the best way to handle this. Any suggestions or pointers in the right direction would be really helpful. Thanks!
I'm just looking for the best way to handle this. Any suggestions or pointers in the right direction would be really helpful. Thanks!