Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JWT token #3

Open
yemijaiyeola opened this issue Apr 8, 2021 · 1 comment
Open

JWT token #3

yemijaiyeola opened this issue Apr 8, 2021 · 1 comment

Comments

@yemijaiyeola
Copy link
Contributor

yemijaiyeola commented Apr 8, 2021

What's the deal with default? Authentication review needed

@kingdomlevel
Copy link
Contributor

Apologies for the very late reply on here:

  • The JWT token was generated specifically for us whenever the project was created
  • We have committed that token (initial commit), so we should likely change it
  • I tried changing my local .env file to a random 32 char string and it worked the same - so presumably we could do this and it would be an easy change
  • the worry of publicly exposing the JWT token is that someone could use this (publicly available on github) token to spoof authenticated requests: https://strapi.io/documentation/developer-docs/latest/guides/jwt-validation.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants