Skip to content
  • Nick Thomas's avatar
    Enable Warden for the Grape API · a1bced203b52
    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
    a1bced203b52