Use relative urls for multi-tenant example

This commit is contained in:
Stian Thorgersen 2014-11-04 10:33:10 +01:00
parent 1797f7e704
commit 431fa29ef1
3 changed files with 8 additions and 8 deletions

View file

@ -9,7 +9,7 @@
</parent>
<name>Keycloak Examples - Multi Tenant</name>
<artifactId>multitenant</artifactId>
<artifactId>examples-multitenant</artifactId>
<packaging>war</packaging>
<description>
@ -59,7 +59,7 @@
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<finalName>multitenant</finalName>
</build>
</project>

View file

@ -46,10 +46,10 @@
{
"name": "multi-tenant",
"enabled": true,
"adminUrl": "http://localhost:8080/multitenant/tenant1",
"baseUrl": "http://localhost:8080/multitenant/tenant1",
"adminUrl": "/multitenant/tenant1",
"baseUrl": "/multitenant/tenant1",
"redirectUris": [
"http://localhost:8080/multitenant/tenant1/*"
"/multitenant/tenant1/*"
],
"secret": "password"
}

View file

@ -46,10 +46,10 @@
{
"name": "multi-tenant",
"enabled": true,
"adminUrl": "http://localhost:8080/multitenant/tenant2",
"baseUrl": "http://localhost:8080/multitenant/tenant2",
"adminUrl": "/multitenant/tenant2",
"baseUrl": "/multitenant/tenant2",
"redirectUris": [
"http://localhost:8080/multitenant/tenant2/*"
"/multitenant/tenant2/*"
],
"secret": "password"
}