I just finished setting up the repo locally and finally figured out that for a subject access token created in Nightscout, I had to remove the sha1 hashing code for NIGHTSCOUT_API_TOKEN and just export it as-is.
Same for me. I always used the "not-hashed" token.
But there have been users who had to hash the token in order to use it. Unfortunately, there is no fully plausible documentation on Nightscout.
I just finished setting up the repo locally and finally figured out that for a
subject
access token created in Nightscout, I had to remove the sha1 hashing code forNIGHTSCOUT_API_TOKEN
and justexport
it as-is.