3.4 KiB
3.4 KiB
Proxmox
Base URLs:
IDP: fac.mydomain.com
SP for PVE: pve01.mydomain.local:8006
SP for PBS: pbs.mydomain.local:8007
FAC
#1 Authentication > OAuth Service > Portals
#2 Authentication > OAuth Service > Policies
- Create New
- Policy type: Name:
Proxmox - Identity sources:
Realm: select your realm and Groups in den Filter that should have access - Authentication factors: Change settings to your needs, f.e.
Application name for FTM push notification: Proxmox
#3 Authentication > OAuth Service > Scopes
#4 Authentication > OAuth Service > Relying Party
- Name:
Proxmox - Client type:
Confidential - Authorization grant types:
Authorization code - Client ID:
note this ID - Client secret:
note this secret - Policy:
choose Proxmox from Step 2 - Access token expiry:
change to your needs or leave default (36000 seconds) - Refresh token expiry:
change to your needs or leave default (1 day) - for PVE - Redirect URIs:
https://pve01.mydomain.local:8006(if you have multiple hosts just enter them same way with space in between)
for PBS - Redirect URIs:https://pbs.mydomain.local:8007(if you have multiple hosts just enter them same way with space in between) - Add 3 Scopes with
+ Add Relying Party Scope - Set the scopes to this:
Scope Default openid x email x profile x - Save
- Add 1 Claim with
+ Add Claim - Set the Claims to this:
Scope Name User Attribute openid preferred_username Email - Save

Proxmox VE
#1 Datacenter > Permissions > Realms
- Click on
Addand chooseOpenID Connect Serverfrom dropdownlist - Issuer URL:
https://fac.mydomain.com/api/vl/oauth - Realm:
FortiAuthenticator(choose name whatever you want) - Client ID:
ID from FAC step #4-4 - Client Key:
secret from FAC step #4-5 - Default: Check this if you want FAC to be your default IDP to login
- Autocreate Users: Check this if you want autocreation of users.
- Username Claim:
username - Scopes:
Default (email profile) - Prompt:
Auth-Provider Default - Add

#2 Datacenter > Permissions
- Click on
Addto create a new Group Permission
- Now you can change to Group on autocreated users to the groups you have just created to give new users permissions.
Proxmox PBS
#1 Configuration > Access Control > Realms
- Click on
Addand chooseOpenID Connect Serverfrom dropdownlist - Issuer URL:
https://fac.mydomain.com/api/vl/oauth - Realm:
FortiAuthenticator(choose name whatever you want) - Client ID:
ID from FAC step #4-4 - Client Key:
secret from FAC step #4-5 - Autocreate Users: Check this if you want autocreation of users.
- Username Claim:
username - Scopes:
Default (email profile) - Prompt:
Auth-Provider Default - Add

#2 Configuration > Access Control > Permissions
- Click on
Addto create a new User Permission

