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

Adding Access Token to enable graph on apple watch #213

Closed
Kloy40 opened this issue Dec 6, 2022 · 24 comments
Closed

Adding Access Token to enable graph on apple watch #213

Kloy40 opened this issue Dec 6, 2022 · 24 comments

Comments

@Kloy40
Copy link

Kloy40 commented Dec 6, 2022

Graph hasn’t been working for a few weeks now and looks to be related to updates and the need to add an access token. Can someone please specify the format for adding the token please? The example on NightGuard app - http://Nightscout?token=mytoken doesn’t make any sense to me!

@dhermanns
Copy link
Collaborator

dhermanns commented Dec 6, 2022

Why not? https://myhome?token=.... is what I am using.
A typical nightscout token looks like

update-b4d96ed628b2e24f

You should have the "careportal" role assigned.

@Kloy40
Copy link
Author

Kloy40 commented Dec 6, 2022

Thanks - got the token working but still have no working graph on the watch! Is there a workaround that I haven’t seen yet?

@Kloy40
Copy link
Author

Kloy40 commented Dec 6, 2022

If fact - there is no graph on NightGuard at all!

@dhermanns
Copy link
Collaborator

dhermanns commented Dec 6, 2022

We have had other issues like

#205

or

#206

which turned out to have misconfigured security tokens, TLS or firewall issues.

@Kloy40
Copy link
Author

Kloy40 commented Dec 6, 2022

Have tried all those things but no joy. Thanks for trying

@dhermanns
Copy link
Collaborator

dhermanns commented Dec 6, 2022 via email

@Kloy40
Copy link
Author

Kloy40 commented Dec 6, 2022

Sorry - I don’t know what the TLS certificate is! How would I check that?

@dhermanns
Copy link
Collaborator

Your can check your URI e.g. here:

https://www.ssllabs.com/ssltest/

@Kloy40
Copy link
Author

Kloy40 commented Dec 6, 2022

Thanks again - just checked that and rating came back as A. Nothing obviously wrong that i could see!

@dhermanns
Copy link
Collaborator

You can send me your URI:

[email protected]

I will have a look.

@dhermanns
Copy link
Collaborator

Looks like you have configured your nightscout backend to be accessed by Api Secret. Just by entering your Api Token doesn't work for me. And that is what nightguard uses, too.

@Kloy40

This comment was marked as off-topic.

@dhermanns
Copy link
Collaborator

dhermanns commented Dec 6, 2022 via email

@Kloy40
Copy link
Author

Kloy40 commented Dec 6, 2022 via email

@dhermanns
Copy link
Collaborator

Not sure whats wrong with your nightscout setup. Maybe you should ask there. Normally your logon screen should work with your token, too.

But thats not the case. Only logon with Api-Secret is working. If you find out the reason for this, nightguard will work, too.

@Kloy40
Copy link
Author

Kloy40 commented Dec 6, 2022 via email

@dhermanns
Copy link
Collaborator

dhermanns commented Dec 7, 2022

My guess is it was the resetup of your nightscout backend in google cloud. At least it was for the user issues we had here.

@Kloy40
Copy link
Author

Kloy40 commented Dec 7, 2022 via email

@Kloy40
Copy link
Author

Kloy40 commented Dec 7, 2022 via email

@dhermanns
Copy link
Collaborator

dhermanns commented Dec 7, 2022 via email

@Kloy40
Copy link
Author

Kloy40 commented Dec 7, 2022 via email

@dhermanns
Copy link
Collaborator

dhermanns commented Dec 7, 2022 via email

@Kloy40
Copy link
Author

Kloy40 commented Dec 7, 2022 via email

@dhermanns
Copy link
Collaborator

Great - and thanks for the feedback

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

3 participants
@dhermanns @Kloy40 and others