mirror of
https://github.com/wahyd4/loginsrv.git
synced 2026-08-09 04:46:29 +10:00
caddy demo for custom claims
This commit is contained in:
@@ -16,6 +16,7 @@ http://localhost:8080 {
|
||||
success_url /private
|
||||
htpasswd file=passwords
|
||||
redirect_host_file redirect_hosts.txt
|
||||
user_file userfile.yml
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
- sub: demo
|
||||
claims:
|
||||
some: "custom claims for user demo"
|
||||
role: admin
|
||||
projects:
|
||||
- example
|
||||
- foo
|
||||
- bar
|
||||
|
||||
Reference in New Issue
Block a user