Closed andrenatal closed 6 years ago
There doesn't seem to be a way to do this in our current setup without updating the PageKite config and restarting every time a gateway is registered.
PageKite can apparently do authentication based on a DNS lookup, but it's completely undocumented. However, that looks like the best path forward.
See AuthThread
in pk.py
.
As it turns out, this is already implemented in the server! We just weren't using it.
Pagekite secret is harcoded and the same to every user. We should change use the token.