[GH-ISSUE #182] automated oidc authentication #102

Closed
opened 2026-02-27 15:46:27 +03:00 by kerem · 5 comments
Owner

Originally created by @camaeel on GitHub (Oct 19, 2024).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/182

Originally assigned to: @jhollowe on GitHub.

Would be great to skip need for passing static tokens.

It is possible to obtain proxmox ticket + csrf token and use them to authentication. Would be great to have such possibility so OIDC can be used to obtain credentials.

Either proxmoxer could integrate with https://github.com/camaeel/proxmox-oidc-credential-helper or something similar could be implemented in this lib.

Originally created by @camaeel on GitHub (Oct 19, 2024). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/182 Originally assigned to: @jhollowe on GitHub. Would be great to skip need for passing static tokens. It is possible to obtain proxmox ticket + csrf token and use them to authentication. Would be great to have such possibility so OIDC can be used to obtain credentials. Either proxmoxer could integrate with https://github.com/camaeel/proxmox-oidc-credential-helper or something similar could be implemented in this lib.
kerem 2026-02-27 15:46:27 +03:00
Author
Owner

@jhollowe commented on GitHub (Oct 20, 2024):

All you should need to do to use a pre-generated ticket is to pass the ticket values as the password. This will refresh the ticket and CSRF token and will handle keeping these values refreshed during prolonged usage.

Can you confirm if passing the ticket as the password works for you?

<!-- gh-comment-id:2424343960 --> @jhollowe commented on GitHub (Oct 20, 2024): All you should need to do to use a pre-generated ticket is to pass the ticket values as the password. This will refresh the ticket and CSRF token and will handle keeping these values refreshed during prolonged usage. Can you confirm if passing the ticket as the password works for you?
Author
Owner

@camaeel commented on GitHub (Oct 20, 2024):

I can confirm it works. Thanx @jhollowe for the tip!

<!-- gh-comment-id:2425157224 --> @camaeel commented on GitHub (Oct 20, 2024): I can confirm it works. Thanx @jhollowe for the tip!
Author
Owner

@jhollowe commented on GitHub (Oct 21, 2024):

If you have some time, adding how to generate the ticket via OIDC and passing it to proxmoxer would be great to add to the docs!

<!-- gh-comment-id:2425526881 --> @jhollowe commented on GitHub (Oct 21, 2024): If you have some time, adding how to generate the ticket via OIDC and passing it to proxmoxer would be great to add to [the docs](https://github.com/proxmoxer/docs)!
Author
Owner

@camaeel commented on GitHub (Oct 21, 2024):

@jhollowe can you assign this ticket to me then?

<!-- gh-comment-id:2425583402 --> @camaeel commented on GitHub (Oct 21, 2024): @jhollowe can you assign this ticket to me then?
Author
Owner

@camaeel commented on GitHub (Oct 21, 2024):

@jhollowe Just created a MR here: https://github.com/proxmoxer/docs/pull/6

<!-- gh-comment-id:2427551770 --> @camaeel commented on GitHub (Oct 21, 2024): @jhollowe Just created a MR here: https://github.com/proxmoxer/docs/pull/6
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmoxer#102
No description provided.