hackbot icon indicating copy to clipboard operation
hackbot copied to clipboard

Allow for updating the Graph API access token via the OAuth web flow

Open kern opened this issue 10 years ago • 4 comments

Hackbot needs the ability to create and delete posts on the behalf of at least one group administrator. Users that wish to use the upcoming canned-response commands (#10, #11, #12) will also have to authenticate with the application.

We'll need to implement the OAuth 2 web flow and persist the long-lived access tokens somewhere. The hacky method described in the README isn't so user-friendly. :)

kern avatar Mar 10 '15 05:03 kern

Does persisting in Firebase make sense?

rubinovitz avatar Aug 05 '15 03:08 rubinovitz

I think so. You can't access the Firebase instance without a admin secret, which basically makes it a hosted database. Or, we can move off Firebase to another data store (perhaps an embedded one? The data we persist is tiny).

kern avatar Aug 06 '15 01:08 kern

Redis?

rubinovitz avatar Aug 08 '15 20:08 rubinovitz

Works for me. I'll get to it this week.

kern avatar Aug 09 '15 21:08 kern