Proxmox auth behind Authentik using OpenID

ThierryIT69

New Member
Mar 28, 2024
14
3
3
Hello,
My proxmox server is accessible from outside, the FQDN is ok.
I have followed the procedure on Authentik website to configure proxmox using OpenID.
Authentik/traefik and Proxmox are in the same network.
I have as error message:

Code:
proxmox OpenID redirect failed. Request failed (500)

When trying to log:

PHP:
 - - [28/03/2024:10:22:07 +0200] "POST /api2/extjs/access/openid/auth-url HTTP/1.1" 200 67
::ffff:192.168.200.50 - - [28/03/2024:10:22:07 +0200] "GET /pve2/ext6/theme-crisp/resources/images/tools/tool-sprites.png HTTP/1.1" 200 24404

The config of the realm "authentik" seems to be ok:

Code:
https://authentik.domain.tld/application/pve
authentik
FYhxxxxxxxxxxxxxxxxxxxxxxxxxQiq
FwxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxGfGNkrLzji
username
Default (email profile)
Auth-Provider Default
Acces through Authentik

The only thing who can be wrong might be the issuer URL

Any ideas ?
Thx
 
Last edited:
Hello,
My proxmox server is accessible from outside, the FQDN is ok.
I have followed the procedure on Authentik website to configure proxmox using OpenID.
Authentik/traefik and Proxmox are in the same network.
I have as error message:

Code:
proxmox OpenID redirect failed. Request failed (500)

When trying to log:

PHP:
 - - [28/03/2024:10:22:07 +0200] "POST /api2/extjs/access/openid/auth-url HTTP/1.1" 200 67
::ffff:192.168.200.50 - - [28/03/2024:10:22:07 +0200] "GET /pve2/ext6/theme-crisp/resources/images/tools/tool-sprites.png HTTP/1.1" 200 24404

The config of the realm "authentik" seems to be ok:

Code:
https://authentik.domain.tld/application/pve
authentik
FYhxxxxxxxxxxxxxxxxxxxxxxxxxQiq
FwxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxGfGNkrLzji
username
Default (email profile)
Auth-Provider Default
Acces through Authentik

The only thing who can be wrong might be the issuer URL

Any ideas ?
Thx
Did you resolve this? I am seeing the same issue, nearly the same setup.
 
Im having the same error but my url includes the 'o'
`as stated below:

Screenshot 2024-07-08 145711.png
 

Attachments

  • Screenshot 2024-07-08 145205.png
    Screenshot 2024-07-08 145205.png
    115.5 KB · Views: 37
  • Screenshot 2024-07-08 145152.png
    Screenshot 2024-07-08 145152.png
    66.5 KB · Views: 35
Facing the same issue as you @jhmc93 did you end up finding a solution ?

Edit: Was a DNS problem on my end
 
Last edited:
The config below worked for my realm. I am not 100%, but pretty sure, that I had it created like that before and got into issues.
Maybe the "Realm" needs to be the hostname of Authentik?! (That's the only thing I can remember, that I had different in my failed attempt)

I selected these flows:
1729960922555.png

Also make sure to select your https certificate as Signing Key in the Provider Settings in Authentik.
1729960851168.png

Proxmox, create realm: (the "comment" will be shown instead the "Realm"-Name in Login-Prompt, if you write something in there)
1729960745727.png
 
Last edited:

About

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!