mirror of
https://github.com/proxmoxer/proxmoxer.git
synced 2026-04-25 15:16:01 +03:00
[GH-ISSUE #182] automated oidc authentication #102
Labels
No labels
backend:https
backend:local
backend:openssh
backend:ssh_paramiko
pull-request
status:ansible-issue
status:help-wanted
status:info-needed
status:proxmox-issue
status:review-needed
type:bug 🐞
type:dependency ⛓️
type:docs 📝
type:enhancement ⏫
type:maintenance 🛠️
type:meta
type:question ❓
type:request ✋
type:testing 🧪
version:1.x
version:latest
version:py2
version:py3
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmoxer#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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?
@camaeel commented on GitHub (Oct 20, 2024):
I can confirm it works. Thanx @jhollowe for the tip!
@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!
@camaeel commented on GitHub (Oct 21, 2024):
@jhollowe can you assign this ticket to me then?
@camaeel commented on GitHub (Oct 21, 2024):
@jhollowe Just created a MR here: https://github.com/proxmoxer/docs/pull/6