Open lxp135 opened 2 months ago
I cannot understand. Where the port number 9443 is missing? The redirect_uri
?
If a Gitea's "port" is missing, for >99%, the user doesn't follow Gitea's document: https://docs.gitea.com/administration/reverse-proxies , some HTTP headers are wrong. And I guess the "self check" page might also say something wrong.
If there HTTP headers are right and nothing wrong is reported by "self check" page, please clarify the problem you met.
For my understanding, I think the author meant this:
https://xxx.com:9443
https://gitea.cloud.com:9443
https://xxx.com:9443/.well-known/openid-configuration
to setup OIDChttps://xxx.com:9443/.well-known/openid-configuration
are all right
authorization_endpoint: https://xxx.com:9443/api/oidc/authorization
Location: https://xxx.com/api/oidc/authorization?client_id=gitea&...
, which is not the URL declared in the well-known configuration (the :9443
is missing in https://xxx.com/
)
Description
When using an external OIDC provider, such as Authelia, accessing
https://xxx.com:9443/.well-known/openid-configuration
returns the following JSON:When requesting
https://gitea.ooo.com:9443/user/oauth2/Authelia
, the Response Headers include the Location:However, the port number 9443 is missing.
Gitea Version
1.22.2 built with GNU Make 4.4.1, go1.22.6 : bindata, timetzdata, sqlite, sqlite_unlock_notify
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
2.45.2
Operating System
unraid 7.0.0
How are you running Gitea?
docker
Database
None