Openid doesn't work with Cognito

kamilandrz

New Member
May 10, 2023
4
0
1
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:
Code:
openid authentication failure; rhost=::ffff:<REDACTED IP> msg=Failed to contact userinfo endpoint: Failed to parse server response

My realm config:
Code:
openid: cognito
        client-id <REDACTED>
        issuer-url https://cognito-idp.eu-north-1.amazonaws.com/<REDACTED>
        client-key <REDACTED>
        default 0
        username-claim email

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