Home

Issue: 2496

oauth2

[issue link]

I am building a project with nuxt and i want to provide an oauth2 register/login to users. I have already seen and example with nuxt from @Atinux in the following link but if i am not wrong the client_id and secret are stored in the local storage and in the env variables which are accessible from both server and client side. I don’t think that this is a good practice because anyone can grab them and use them. Does anyone knows a way to store them in a more secure way?

Atinux oauth example.
https://github.com/nuxt/example-auth0

This question is available on Nuxt.js community (#c2167)