Hello everyone,
I’m relatively new to Proxmox and I’m working on a VDI platform that uses Proxmox to handle the VMs. I’ve set up Keycloak for SSO and the login flow works perfectly from the Proxmox web UI.
Now I’m trying to replicate that same OpenID Connect flow on my own website using the /api2/json/access/openid/login endpoint. I generate the code and state values with the same Keycloak client I use in the UI, then POST them (along with the redirect URL) to the Proxmox endpoint but the API login keeps failing.
My theory is that when I POST to the endpoint, Proxmox does not accept the redirect URI as its different to what it knows ?
Has anyone run into this before, or can suggest what I might be missing? Any pointers would be greatly appreciated!
I'm an absolute noob and maybe I'm missing something crucial but as of right now i dont even know where to look to understand the errors.
Thanks!
I’m relatively new to Proxmox and I’m working on a VDI platform that uses Proxmox to handle the VMs. I’ve set up Keycloak for SSO and the login flow works perfectly from the Proxmox web UI.
Now I’m trying to replicate that same OpenID Connect flow on my own website using the /api2/json/access/openid/login endpoint. I generate the code and state values with the same Keycloak client I use in the UI, then POST them (along with the redirect URL) to the Proxmox endpoint but the API login keeps failing.
My theory is that when I POST to the endpoint, Proxmox does not accept the redirect URI as its different to what it knows ?
Has anyone run into this before, or can suggest what I might be missing? Any pointers would be greatly appreciated!
I'm an absolute noob and maybe I'm missing something crucial but as of right now i dont even know where to look to understand the errors.
Thanks!