Authentication / read netrc from flask?
- 2013-07-19 @ 17:06
Is there a way to get authentication information from a .netrc file from a
flask app? I've never used .netrc, so this might be a silly question.
I'm trying to come up with an authentication scheme for a REST API written
in flask. I've looked at OAuth, but it doesn't seem too easy to implement.
Further, those schemes seem more to provide a third party to authenticate
against (my) API, and that is not functionality I need. I only need a
secure way to authenticate users directly. Any scheme needs to work with