Closed leesharma closed 7 years ago
The developer
strategy's turning out to be more of a pain than I expected. The generated form apparently doesn't include an authenticity token, so I keep getting ActionController::InvalidAuthenticityToken
errors on submit.
A quick google suggest disabling csrf protection, but that seems like a very bad plan. I'll look at this again tomorrow. Maybe using a custom view or something would work. Alternatively, maybe a standard login (identity
strategy) would be easier.
Actually, since this isn't going to take the 10-minute solution, I'm going to delay this one. It's not our top priority at the moment.
Logging in with Amazon can be a pain in development (esp. if we want to click around as different users). Adding a simple auth system for development-only would make working on the project much more pleasant.
The
developer
strategy might be a good place to start: http://www.rubydoc.info/github/intridea/omniauth/OmniAuth/Strategies/DeveloperThis is probably not an MVP feature.