hackthenorth/mobile-backend

The GCM whitelist will be annoying if we're making requests locally...

Closed this issue · 1 comments

So, the GCM API key that we're given only works for whitelisted IP addresses. So, like, we have to add every admin's IP address to the whitelist, and if they move and get a new IP then it'll break. Depending on how much you value things just working and how many admins we have using these scripts, this can just be a minor annoyance, or something that we have to fix. If we only have one or two people using these scripts it's probably not worth the effort to set something up, they'll just have to log in to the dashboard and add their ip.

In case it's something we have to fix, I'm trying to think of a way to let people use this script without having to add their IP address to the GCM whitelist. If we had a canonical admin computer that is accessible via ssh or something, then we can just have everyone run the scripts via ssh or something. I think we might be able to get something like this from the CSC.

Anyway, if anyone else has any ideas, that'd be great.

I set up an Amazon EC2 microinstance that we can ssh to, as a solution to this problem. I think it will serve our needs well.