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

Is there any way to keep developer token hidden from user view #4

Open
Behinder opened this issue Nov 3, 2020 · 2 comments
Open

Is there any way to keep developer token hidden from user view #4

Behinder opened this issue Nov 3, 2020 · 2 comments

Comments

@Behinder
Copy link

Behinder commented Nov 3, 2020

Especially when we share web server publicly.

@KoleMyers
Copy link
Owner

Unfortunately, as far as I can tell there is no good way to keep the developer token hidden (though I would love to be proven wrong about this). This does mean your token could be exploited, so I would think your best bet would be setting the expiresIn to a relatively short amount of time and more strictly limiting how often users can generate tokens. Maybe limiting by ip, or user if you have your own authentication.

@Behinder
Copy link
Author

Behinder commented Jan 4, 2021 via email

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