PVE OIDC callback url doesn't seem to work for me.

FuriousRage

Renowned Member
Oct 17, 2014
120
4
83
Hi.

Im currently trying to setup a SSO with my cosmos-cloud openid.

It seems that the login event on cosmos cloud works

Code:
2025/12/06 20:24:39 [REQ]   [36m[0m[95mGET [0m[36mhttps://cosmos.domain.tld/cosmos/api/users HTTP/2.0 [0mfrom 192.168.88.106:39178 - [42m [0m[32m 200[0m[34m 317B[0m in [32m764.772µs[0m[0m[0m
2025/12/06 20:24:39 [DEBUG] Triggering event cosmos.proxy.response.Cosmos-Internal.success
2025/12/06 20:24:40 [DEBUG] SmartShield: Getting client ID 192.168.88.106
2025/12/06 20:24:40 [DEBUG] SmartShield: Getting client ID 192.168.88.106
2025/12/06 20:24:40 [DEBUG] SmartShield: Current global requests: 1
2025/12/06 20:24:40 [DEBUG] SmartShield: Current global requests: 1
2025/12/06 20:24:40 [INFO]  API: Status
2025/12/06 20:24:40 [REQ]   [36m[0m[95mGET [0m[36mhttps://cosmos.domain.tld/cosmos/api/status HTTP/2.0 [0mfrom 192.168.88.106:39178 - [42m [0m[32m 200[0m[34m 2552B[0m in [32m1.194883ms[0m[0m[0m
2025/12/06 20:24:40 [DEBUG] Triggering event cosmos.proxy.response.Cosmos-Internal.success
2025/12/06 20:24:40 [INFO]  Using config file: /var/lib/cosmos/cosmos.config.json
2025/12/06 20:24:40 [REQ]   [36m[0m[95mGET [0m[36mhttps://cosmos.domain.tld/cosmos/api/config HTTP/2.0 [0mfrom 192.168.88.106:39178 - [42m [0m[32m 200[0m[34m 39930B[0m in [32m2.119445ms[0m[0m[0m
2025/12/06 20:24:40 [DEBUG] Triggering event cosmos.proxy.response.Cosmos-Internal.success
2025/12/06 20:24:41 [DEBUG] SmartShield: Getting client ID 192.168.88.106
2025/12/06 20:24:41 [DEBUG] SmartShield: Current global requests: 1

On cosmos OpenID the redirect url i have tried to set https://pve.domain.tld, https://pve.domain.tld:443, https://192.168.88.3, https://192.168.88.3:8006

Cosmos is my reverse proxy so pve.domain.tld accesses https://192.168.88.3:8006/ but cosmos listens on https://pve.domain.tld (port 443)

I think i have tried all variations of the callback url, none works.

no matter what i try i get


Screenshot_20251206_203758.png


Any ideas around here?