oauth2: fixed config

This commit is contained in:
Alexey Bannov 2024-02-12 17:59:00 +03:00
parent b567e10880
commit 3d8d1c5e21
4 changed files with 11 additions and 3 deletions

View File

@ -37,7 +37,10 @@
},
"themelimit": "9",
"oidc": {
"authority": ""
"authority": "",
"disableValidateToken": "true",
"requireHttps": "false",
"showPII": "true"
},
"server-root": "",
"username": {

View File

@ -311,6 +311,11 @@ server {
proxy_pass http://127.0.0.1:8080;
}
}
location /oauth2/.well-known/openid-configuration {
rewrite oauth2/(.*) /$1 break;
proxy_pass http://127.0.0.1:8080;
}
location /oauth2 {
proxy_pass http://127.0.0.1:8080;

View File

@ -3,7 +3,7 @@
<name>ONLYOFFICE IdentityApi</name>
<startmode>manual</startmode>
<executable>java</executable>
<arguments>-jar ../../server/common/ASC.Identity/api/target/api-0.0.1.jar</arguments>
<arguments>-jar ../../server/common/ASC.Identity/api/target/identity-api.jar</arguments>
<log mode="none"/>
<delayedAutoStart>true</delayedAutoStart>
<onfailure action="restart" delay="5 sec" />

View File

@ -3,7 +3,7 @@
<name>ONLYOFFICE IdentityService</name>
<startmode>manual</startmode>
<executable>java</executable>
<arguments>-jar ../../server/common/ASC.Identity/authorization/target/authorization-0.0.1.jar</arguments>
<arguments>-jar ../../server/common/ASC.Identity/authorization/target/identity-authorization.jar</arguments>
<log mode="none"/>
<delayedAutoStart>true</delayedAutoStart>
<onfailure action="restart" delay="5 sec" />