Is it safe to publish auth token on github?

I was unable to google it.

Do I need to make my project private? I think I can manage to hide my wifi settings but do I need to hide each and every auth token?

Yes you need to hide every auth token !

If it’s the auth token for a project on the Blynk cloud servers then you should never share them anywhere.
Anyone who has access your auth code can control your project.

If the auth code is for your local server and you don’t share either your public IP address or a DDNS URL to your network then it’s safe, provided you don’t give people enough clues about how to work-out how to access your local Blynk server.

If you want to, it’s easy enough regenerate a new auth code, but you do obviously need to re-flash the code to your device(s).



Thank you.

1 Like