Skip to content

Gitea OAuth2 based SSO implementation not workingΒ #26945

@Shakthijuego

Description

@Shakthijuego

Description

We using a gitea as SSO for internal Jenkins installation. However in the recent version of Gitea. Jenkins successfully redirected to the git login screen. However, when the user enters their credentials it won't redirect back to Jenkins. It stays on the same page. Interestingly if the user is already logged in to Gitea, SSO perfectly works. ie When user click login on Jenkins screen they are taken to gitea login and redirected back to Jenkins with successful logon.

Gitea Version

gitea-1.20.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

31cbb487ee619bcf70fc336c9bac826b6ba90096_2_1380x352

Git Version

No response

Operating System

No response

How are you running Gitea?

Behind ssl enabled nginx proxy. Possibly issue started after ssl enabled.

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions