caddy demo for custom claims

This commit is contained in:
Sebastian Mancke
2018-02-16 17:24:35 +01:00
parent 81ca088a12
commit 1e1b36bd1e
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ http://localhost:8080 {
success_url /private
htpasswd file=passwords
redirect_host_file redirect_hosts.txt
user_file userfile.yml
}
}
+10
View File
@@ -0,0 +1,10 @@
- sub: demo
claims:
some: "custom claims for user demo"
role: admin
projects:
- example
- foo
- bar