Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • lava lava
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 148
    • Issues 148
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 35
    • Merge requests 35
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • lava
  • lavalava
  • Merge requests
  • !1800

Merged
Created Jul 01, 2022 by Igor Ponomarev@igo95862Contributor

Let REQUIRE_LOGIN mode passthrough valid auth tokens

  • Overview 3
  • Commits 1
  • Changes 1

Otherwise REST API and XMLRPC are practically unusable.

This is a passthrough mode meaning the token should be validated and assinged user down the processing stack.

This means that using the valid token someone can access other pages as an anonymous user even when REQUIRE_LOGIN is enabled.

The code is based on lava_rest_app.authentication.LavaTokenAuthentication

Edited Jul 01, 2022 by Igor Ponomarev
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-require-login-blocking-tokens