• Nick Thomas's avatar
    Enable Warden for the Grape API · 10c07226
    Nick Thomas authored
    The practical effect of this commit is to make the API check the Rails session
    cookie for authentication details. If the cookie is present and valid, it will
    be used to authenticate.
    
    The API now has several authentication options for users. They follow in this
    order of precedence:
    
    * Authentication token
    * Personal access token
    * OAuth2 Bearer token (Doorkeeper - application access)
    * Rails session cookie
    10c07226
helpers.rb 12.9 KB