setup remote auth
This commit is contained in:
@@ -30,14 +30,11 @@ security {
|
||||
ui {
|
||||
links {
|
||||
"My Identity" "/whoami" icon "las la-user"
|
||||
"Jellyfin" https://jellyfin.{$SUBDOMAIN}.{$DOMAIN} icon "las la-play"
|
||||
}
|
||||
}
|
||||
transform user {
|
||||
match realm remote
|
||||
action add role authp/user
|
||||
action add iets "Zo iets!" as string
|
||||
|
||||
}
|
||||
transform user {
|
||||
match origin local
|
||||
@@ -52,8 +49,7 @@ security {
|
||||
set user identity seafile_id
|
||||
|
||||
inject headers with claims
|
||||
inject header "X-Seafile-Email" from "user|email"
|
||||
inject header "X-Test" from "userinfo|seafile_email"
|
||||
inject header "X-Onzin" from "realm"
|
||||
inject header "X-Seafile-Email" from "userinfo|seafile_email"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user