Openid doesn't work with Cognito


New Member
May 10, 2023
I set up Cognito OIDC client for proxmox but it doesn't work.

When I try to sign-in using it I get error message on the UI: "OpenID login failed, please try again authentication failure (401)". In the logs of pvedaemon I see:
openid authentication failure; rhost=::ffff:<REDACTED IP> msg=Failed to contact userinfo endpoint: Failed to parse server response

My realm config:
openid: cognito
        client-id <REDACTED>
        client-key <REDACTED>
        default 0
        username-claim email

I tried different config options but they seem to make no change.


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!