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

support for Nightscout token based authentication #1

Closed
PieterGit opened this issue May 28, 2017 · 2 comments
Closed

support for Nightscout token based authentication #1

PieterGit opened this issue May 28, 2017 · 2 comments

Comments

@PieterGit
Copy link
Contributor

Hi @ecc1

It would be great if your nightscout uploader also supports token based authentication.

See nightscout/cgm-remote-monitor#1868 and http://www.nightscout.info/wiki/welcome/website-features/0-9-features/authentication-roles

Easiest is to also a token, and supply that as a parameter at the end of the URL request (e.g. token=devicename-hash)

I use AUTH_DEFAULT_ROLES=denied on my Nightscout instance.

@ecc1
Copy link
Owner

ecc1 commented Jun 6, 2017

I'm planning to add this. How about if I add the token to the URL if there's a NIGHTSCOUT_AUTH_TOKEN environment variable set?

@PieterGit
Copy link
Contributor Author

Closing. Will be implemented with #4

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