custom realm name

This commit is contained in:
2024-12-07 11:48:58 +01:00
parent 52fc271b71
commit 1826dd9b4c

View File

@@ -3,7 +3,7 @@
order authorize before reverse_proxy order authorize before reverse_proxy
security { security {
oauth identity provider generic { oauth identity provider generic {
realm generic realm mine
driver generic driver generic
client_id {$OAUTH_CLIENT_ID} client_id {$OAUTH_CLIENT_ID}
client_secret {$OAUTH_CLIENT_SECRET} client_secret {$OAUTH_CLIENT_SECRET}
@@ -22,16 +22,17 @@
ui { ui {
links { links {
"My Identity" "/whoami" icon "las la-user" "My Identity" "/whoami" icon "las la-user"
"Jellyfin" https://jellyfin.{$SUBDOMAIN}.{$DOMAIN} icon "las la-play"
} }
} }
transform user { transform user {
match realm generic match realm mine
action add role authp/user action add role authp/user
} }
transform user { transform user {
match realm generic match realm mine
# Give this account admin role in the auth portal # Give this account admin role in the auth portal
match email rik.veenboer@gmail.com match email rik.veenboer@gmail.com