Hey Folks,
New to Proxmox and was trying to poke around the API. I stumbled on a openid path ("/api2/json/access/openid") which holds 'auth-url' and 'login' endpoints. Does anyone have experience in using these endpoints to get a API ticket?
I currently have working OIDC setup with Google and it works with Proxmox GUI. I attempted using the above mentioned endpoints to get a ticket (PVEAuthCookie) but I keep getting 401 authorization failed errors.
Context: Trying to see of I can setup Oauth based API tokens instead of hardcoded API keys (or username and password) for access to Proxmox API from a CLI I am developing.
Reference: https://pve.proxmox.com/pve-docs/api-viewer/#/access/openid/
New to Proxmox and was trying to poke around the API. I stumbled on a openid path ("/api2/json/access/openid") which holds 'auth-url' and 'login' endpoints. Does anyone have experience in using these endpoints to get a API ticket?
I currently have working OIDC setup with Google and it works with Proxmox GUI. I attempted using the above mentioned endpoints to get a ticket (PVEAuthCookie) but I keep getting 401 authorization failed errors.
Context: Trying to see of I can setup Oauth based API tokens instead of hardcoded API keys (or username and password) for access to Proxmox API from a CLI I am developing.
Reference: https://pve.proxmox.com/pve-docs/api-viewer/#/access/openid/