Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: OpenId config of redirect_url is broken #2659

Open
Loigzorn opened this issue Dec 25, 2024 · 2 comments
Open

Problem: OpenId config of redirect_url is broken #2659

Loigzorn opened this issue Dec 25, 2024 · 2 comments
Assignees

Comments

@Loigzorn
Copy link

Issue

With the release of v2.11.1 the redirect_url in the oidc_providers settings is broken.

All of the configs provided at OpenId contain the flag redirect_url where the url to redirect to after the authentication is set.
This url points to nowhere when the url is called, the response is 404 Not Found:
image

Non the less, the authentication of the user has been completed successful.
When calling the base url as normal, the user is logged in as usual

Impact

Web-Frontend (what users interact with), Configuration

Installation method

Docker

Database

Postgres

Browser

Chrome

Semaphore Version

semaphore version v2.11.1

Ansible Version

No response

Logs & errors

2024-12-25T19:56:33.498021664Z time="2024-12-25T19:56:33Z" level=error msg="websocket: close 1005 (no status)" fields.level=Error

2024-12-25T19:56:33.498027131Z time="2024-12-25T19:56:33Z" level=error msg="websocket: close sent" fields.level=Error

2024-12-25T19:56:33.498029745Z time="2024-12-25T19:56:33Z" level=error msg="close tcp 172.18.0.3:3000->10.10.10.10:39564: use of closed network connection" fields.level=Error

Manual installation - system information

No response

Configuration

No response

Additional information

No response

@MatthewHana
Copy link

Hello @Loigzorn , could you please see if the workaround in issue #2681 solves your issue.

@Loigzorn
Copy link
Author

Loigzorn commented Jan 8, 2025

Hello @MatthewHana, yes I've set the web_host to / and now the redirect during the authentication is working properly.
This works as a workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants