Can’t use custom URLs for authentication sources #13098

Closed
opened 2025-11-02 10:30:43 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @FifoF on GitHub (Jun 4, 2024).

Description

Whenever I try adding a custom auth source, I can’t see the option to add a custom URL. I checked it using dev tools and the tw-hidden class hides it.

Screenshots

image

Gitea Version

v1.22

Can you reproduce the bug on the Gitea demo site?

No

Operating System

macOS 11.5.1

Browser Version

Opera GX 109.0.5097.108 (x86_64)

Originally created by @FifoF on GitHub (Jun 4, 2024). ### Description Whenever I try adding a custom auth source, I can’t see the option to add a custom URL. I checked it using dev tools and the `tw-hidden` class hides it. ### Screenshots ![image](https://github.com/go-gitea/gitea/assets/8145202/6ee94ec8-5445-4859-82cc-1cf9b5df4cbd) ### Gitea Version v1.22 ### Can you reproduce the bug on the Gitea demo site? No ### Operating System macOS 11.5.1 ### Browser Version Opera GX 109.0.5097.108 (x86_64)
GiteaMirror added the type/bugtopic/ui labels 2025-11-02 10:30:44 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Jun 4, 2024):

Do you mean this? Maybe use "OpenID Connect" instead of "Gitea"?

image

@wxiaoguang commented on GitHub (Jun 4, 2024): Do you mean this? Maybe use "OpenID Connect" instead of "Gitea"? ![image](https://github.com/go-gitea/gitea/assets/2114189/538708f5-45ef-40bb-a377-2d88dafae0a7)
Author
Owner

@wxiaoguang commented on GitHub (Jun 4, 2024):

Hmm, regression of Remove jQuery .attr from the common admin functions (#30115)

@wxiaoguang commented on GitHub (Jun 4, 2024): Hmm, regression of Remove jQuery `.attr` from the common admin functions (#30115)
Author
Owner

@FifoF commented on GitHub (Jun 4, 2024):

Do you mean this? Maybe use "OpenID Connect" instead of "Gitea"?

image

I’m afraid not. There was a Use Custom URLs Instead of Default URLs checkbox that used to show up

@FifoF commented on GitHub (Jun 4, 2024): > Do you mean this? Maybe use "OpenID Connect" instead of "Gitea"? > > ![image](https://private-user-images.githubusercontent.com/2114189/336475240-538708f5-45ef-40bb-a377-2d88dafae0a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc1MDk2MjcsIm5iZiI6MTcxNzUwOTMyNywicGF0aCI6Ii8yMTE0MTg5LzMzNjQ3NTI0MC01Mzg3MDhmNS00NWVmLTQwYmItYTM3Ny0yZDg4ZGFmYWUwYTcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDRUMTM1NTI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YmU3YWIwZGNlZjk0YjEyODlkNTA2MGYwZGNjYTY1Y2FjZjhiZTZkN2FiOTE0M2FjYjE1ZGIyYjRhYmYzNDQ5ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.g9CiqinrjGjISAY1SOT6HfkFTki7kedALPj0gQmY6hs) I’m afraid not. There was a **Use Custom URLs Instead of Default URLs** checkbox that used to show up
Author
Owner

@wxiaoguang commented on GitHub (Jun 4, 2024):

-> Fix admin oauth2 custom URL settings #31246

@wxiaoguang commented on GitHub (Jun 4, 2024): -> Fix admin oauth2 custom URL settings #31246
Author
Owner

@FifoF commented on GitHub (Jun 4, 2024):

Great work, I can’t wait!

@FifoF commented on GitHub (Jun 4, 2024): Great work, I can’t wait!
Author
Owner

@wxiaoguang commented on GitHub (Jun 4, 2024):

Let's keep the issue open until the PR is merged ...

Sorry for the inconvenience and thank you very much for the report.

@wxiaoguang commented on GitHub (Jun 4, 2024): Let's keep the issue open until the PR is merged ... Sorry for the inconvenience and thank you very much for the report.
Author
Owner

@wxiaoguang commented on GitHub (Jun 4, 2024):

If you are using binary, the new nightly build is ready https://dl.gitea.com/gitea/1.22-nightly/ , it will become 1.22.1 soon.

If you are using docker .... the nightly rootful one is ready but the rootless one is not due to some network error.

You could track the build progress here https://github.com/go-gitea/gitea/commits/release/v1.22

Could you try if 1.22-nightly works well for you?

image

@wxiaoguang commented on GitHub (Jun 4, 2024): If you are using binary, the new nightly build is ready https://dl.gitea.com/gitea/1.22-nightly/ , it will become 1.22.1 soon. If you are using docker .... the nightly rootful one is ready but the rootless one is not due to some network error. You could track the build progress here https://github.com/go-gitea/gitea/commits/release/v1.22 Could you try if 1.22-nightly works well for you? ![image](https://github.com/go-gitea/gitea/assets/2114189/fdeb2574-0492-4452-8163-5b6d1de45a29)
Author
Owner

@FifoF commented on GitHub (Jun 4, 2024):

Yup it’s working, thanks a lot for the quick fix!

@FifoF commented on GitHub (Jun 4, 2024): Yup it’s working, thanks a lot for the quick fix!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13098