Continued auth improvements

This commit is contained in:
Jason Ertel
2020-04-08 10:35:29 -04:00
committed by William Wernert
parent 308ef0fc30
commit 9c2975a546
4 changed files with 18 additions and 6 deletions

View File

@@ -134,9 +134,9 @@ http {
proxy_set_header Connection "Upgrade";
}
location /auth/ {
location ~ ^/auth/.*?(whoami|login|logout) {
rewrite /auth/(.*) /$1 break;
proxy_pass http://{{ masterip }}:4433/;
proxy_pass http://{{ masterip }}:4433;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_set_header Host $host;

View File

@@ -134,9 +134,9 @@ http {
proxy_set_header Connection "Upgrade";
}
location /auth/ {
location ~ ^/auth/.*?(whoami|login|logout) {
rewrite /auth/(.*) /$1 break;
proxy_pass http://{{ masterip }}:4433/;
proxy_pass http://{{ masterip }}:4433;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_set_header Host $host;

View File

@@ -134,9 +134,9 @@ http {
proxy_set_header Connection "Upgrade";
}
location /auth/ {
location ~ ^/auth/.*?(whoami|login|logout) {
rewrite /auth/(.*) /$1 break;
proxy_pass http://{{ masterip }}:4433/;
proxy_pass http://{{ masterip }}:4433;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_set_header Host $host;

View File

@@ -18,6 +18,18 @@
"verification": {
"via": "email"
}
},
"firstName": {
"type": "string",
"title": "First Name"
},
"lastName": {
"type": "string",
"title": "Last Name"
},
"role": {
"type": "string",
"title": "Role"
}
}
},