Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Token API calls be authorized using the reverse-proxy header #15119

Merged
merged 13 commits into from
Nov 19, 2021

Commits on Mar 18, 2021

  1. API calls authorized with HTTP header

    This mod allows API calls to be authorized with HTTP header
    when ENABLE_REVERSE_PROXY_AUTHENTICATION is enabled. Without
    it user authenticated by reverse proxy is able to access
    gitea UI but not API which is inconsistent.
    
    Author-Change-Id: IB#1107572
    pboguslawski committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    dc952c0 View commit details
    Browse the repository at this point in the history
  2. Fixed API calls authorized with HTTP header

    Only reqBasicAuth is modified to allow reverse proxy
    auth as alternative and reqToken is left untouched.
    
    Fixes: dc952c0
    Author-Change-Id: IB#1107572
    pboguslawski committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    0a51fd5 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2021

  1. Configuration menu
    Copy the full SHA
    f011fac View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Reverse proxy API auth separated in docs

    Related: go-gitea#15119 (comment)
    Author-Change-Id: IB#1107572
    pboguslawski committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    d7f2815 View commit details
    Browse the repository at this point in the history
  2. Reverse proxy API auth separated in docs

    Related: go-gitea#15119 (comment)
    Author-Change-Id: IB#1107572
    pboguslawski committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    dcdc8ee View commit details
    Browse the repository at this point in the history
  3. Reverse proxy API auth separated

    Related: go-gitea#15119 (comment)
    Author-Change-Id: IB#1107572
    pboguslawski committed Apr 30, 2021
    Configuration menu
    Copy the full SHA
    38dd9e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30f3a25 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2021

  1. ReverseProxyAuth removed from swagger

    ReverseProxyAuth removed from swagger as in upstream's suggestion.
    
    Related: go-gitea#15119 (review)
    Author-Change-Id: IB#1107572
    pboguslawski committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    1b45775 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09bc7ff View commit details
    Browse the repository at this point in the history
  3. ReverseProxyAuth API authorization fixed

    Related: go-gitea#15119 (comment)
    Author-Change-Id: IB#1107572
    pboguslawski committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    4bb60af View commit details
    Browse the repository at this point in the history
  4. ReverseProxyAuth API authorization fixed

    Related: go-gitea#15119 (comment)
    Author-Change-Id: IB#1107572
    pboguslawski committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    d23ef1b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac114d4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    988b05b View commit details
    Browse the repository at this point in the history