Skip to content

OAuth2 cannot link to synology sso #33834

Open
@xiaolecn

Description

@xiaolecn

Description

i have do everythin as the document

the config as this

Image

after sso login, jump back to gitea and show 500 error page

cmd log show this error

2025/03/02 05:35:20 ...rs/web/auth/oauth.go:128:

SignInOAuthCallback() [E] UserSignIn: oauth2: error validating JWT token: 

issuer in token does not match issuer in OpenIDConfig discovery

Gitea Version

1.23

Can you reproduce the bug on the Gitea demo site?

No

Operating System

Docker

How are you running Gitea?

running by docker-compose

Database

sqllite

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions