add new OpenID URI: EOF error #10106

Closed
opened 2025-11-02 08:58:17 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @yuuuxt on GitHub (Jan 15, 2023).

Description

  • I want to explore the feature of using external auth provider, so I tried providing "Settings - Security - Manage OpenID Addresses" with https://<auth.domain>/.well-known/openid-configuration and click the add button below;
  • an Error message EOF appears on top of current page.
    Several combinations are tried:
  • local docker gitea + local docker auth provider (zitadel) - EOF
  • local docker gitea + zitadel.cloud - EOF; if adding / at the end - LINK with rel=openid2.provider not found
  • local docker gitea + gitea's own discovery endpoint (i.e. use gitea domain instead of the auth provider) - EOF

on demo site it's the same.

looking at docker logs there seems no additional error msg:

2023-01-16 00:34:46 2023/01/16 00:34:46 [63c42b1e] router: completed GET /user/events for 172.28.0.1:33916, 200 OK in 7891.1ms @ events/events.go:19(events.Events)
2023-01-16 00:34:46 2023/01/16 00:34:46 [63c42b26] router: completed POST /user/settings/security/openid for 172.28.0.1:33996, 200 OK in 55.5ms @ security/openid.go:20(security.OpenIDPost)
2023-01-16 00:34:49 2023/01/16 00:34:49 [63c4176c-25] router: polling   GET /user/events for 172.28.0.1:33996, elapsed 3030.0ms @ events/events.go:19(events.Events)

Gitea Version

1.18.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

image

Git Version

NA

Operating System

tried docker on linux & windows

How are you running Gitea?

tried:

Database

SQLite

Originally created by @yuuuxt on GitHub (Jan 15, 2023). ### Description - I want to explore the feature of using external auth provider, so I tried providing "Settings - Security - Manage OpenID Addresses" with `https://<auth.domain>/.well-known/openid-configuration` and click the add button below; - an Error message `EOF` appears on top of current page. Several combinations are tried: - local docker gitea + local docker auth provider (`zitadel`) - `EOF` - local docker gitea + `zitadel.cloud` - `EOF`; if adding `/` at the end - `LINK with rel=openid2.provider not found` - local docker gitea + gitea's own discovery endpoint (i.e. use gitea domain instead of the auth provider) - `EOF` on demo site it's the same. looking at docker logs there seems no additional error msg: ``` 2023-01-16 00:34:46 2023/01/16 00:34:46 [63c42b1e] router: completed GET /user/events for 172.28.0.1:33916, 200 OK in 7891.1ms @ events/events.go:19(events.Events) 2023-01-16 00:34:46 2023/01/16 00:34:46 [63c42b26] router: completed POST /user/settings/security/openid for 172.28.0.1:33996, 200 OK in 55.5ms @ security/openid.go:20(security.OpenIDPost) 2023-01-16 00:34:49 2023/01/16 00:34:49 [63c4176c-25] router: polling GET /user/events for 172.28.0.1:33996, elapsed 3030.0ms @ events/events.go:19(events.Events) ``` ### Gitea Version 1.18.0 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots ![image](https://user-images.githubusercontent.com/3153534/212554437-bb574065-fbc1-4d07-ac66-dfd6cd4d52b8.png) ![image](https://user-images.githubusercontent.com/3153534/212554417-268ef85e-bf26-400c-9e3a-4cbf79650234.png) ### Git Version NA ### Operating System tried docker on linux & windows ### How are you running Gitea? tried: - docker-compose - behind traefik, postgres db; - docker-compose - basics version on https://docs.gitea.io/en-us/install-with-docker/#installation (sqlite db) - (and the demo site) ### Database SQLite
GiteaMirror added the type/bug label 2025-11-02 08:58:17 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Jan 15, 2023):

Tested it with a local Zitadel instance and it works without problems.

@KN4CK3R commented on GitHub (Jan 15, 2023): Tested it with a local Zitadel instance and it works without problems.
Author
Owner

@yuuuxt commented on GitHub (Jan 16, 2023):

the set up should be in site admin - authentication sources.

@yuuuxt commented on GitHub (Jan 16, 2023): the set up should be in site admin - authentication sources.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10106