patcon / bikebikeshareshare-bot

A bot for watching a Signal messenger group, and sharing bikeshare pin codes for those who ask.
0 stars 1 forks source link

Allow username/password auth with Bikeshare API #1

Open patcon opened 3 years ago

patcon commented 3 years ago

Right now, we're just passing the derived auth token that's generated either by (1) an unpinned ssl cert app, or the unofficial API explorer.

If someone were to log in again via the app, this auth token would expire, and would need to be renewed in an awkward way.

It would be better if the server could just be passed the username and password, and renew the token as needed.