mastodon / flodgatt

A blazingly fast drop-in replacement for the Mastodon streaming API server
GNU Affero General Public License v3.0
86 stars 8 forks source link

Read account_id from postgres db #7

Closed codesections closed 5 years ago

codesections commented 5 years ago

This PR connects the postgres database and retrieves the account_id based on an access_token provided either as an authentication header or as a query parameter. It also returns correct error messages when the access_token is missing or incorrect.