Skip to content

Wrong OAuth2 Form target when running on modified root URL #8461

Closed
@PeterNerlich

Description

@PeterNerlich

Description

I have set gitea up in docker behind a reverse proxy (Traefik). We are not given subdomains so we have to work with prefixes like /git/. When trying to integrate drone into our setup, granting authorization to it fails. I think I traced it down to the "grant or cancel" form action url leading to /login/oauth/grant instead of /git/login/oauth/grant. Manipulating the HTML and clicking the button then worked.

Screenshots

Screenshot from 2019-10-11 11-38-17

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions