Skip to content
Snippets Groups Projects
Select Git revision
20 results

helpers.rb

  • Nick Thomas's avatar
    10c07226
    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
    History
    Enable Warden for the Grape API
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.