Skip to content

Commit

Permalink
ES-4 (#432)
Browse files Browse the repository at this point in the history
Co-authored-by: ase-101 <>
  • Loading branch information
ase-101 authored Oct 5, 2023
1 parent e254678 commit 6438dcc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
6 changes: 3 additions & 3 deletions esignet-service/src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ mosip.esignet.cache.expire-in-seconds={'clientdetails' : 86400, 'preauth': 180,
'linked': 60 , 'linkedcode': ${mosip.esignet.link-code-expire-in-secs}, 'linkedauth' : ${mosip.esignet.authentication-expire-in-secs}, 'consented': 120 }
## ------------------------------------------ Discovery openid-configuration -------------------------------------------
mosipbox.public.url=http://localhost:8088
mosip.esignet.discovery.issuer-id=${mosipbox.public.url}
mosip.esignet.discovery.issuer-id=${mosipbox.public.url}${server.servlet.path}

mosip.esignet.oauth.key-values={'issuer': '${mosip.esignet.discovery.issuer-id}' ,\
mosip.esignet.oauth.key-values={'issuer': '${mosipbox.public.url}' ,\
\ 'authorization_endpoint': '${mosipbox.public.url}${server.servlet.path}/authorize' , \
\ 'token_endpoint': '${mosipbox.public.url}${server.servlet.path}/oauth/token' , \
\ 'jwks_uri' : '${mosipbox.public.url}${server.servlet.path}/oauth/jwks.json' , \
Expand All @@ -153,7 +153,7 @@ mosip.esignet.oauth.key-values={'issuer': '${mosip.esignet.discovery.issuer-id}'
\ 'grant_types_supported' : ${mosip.esignet.supported.grant.types},\
\ 'response_types_supported' : ${mosip.esignet.supported.response.types}}

mosip.esignet.discovery.key-values={'issuer': '${mosip.esignet.discovery.issuer-id}' ,\
mosip.esignet.discovery.key-values={'issuer': '${mosipbox.public.url}' ,\
\ 'authorization_endpoint': '${mosipbox.public.url}${server.servlet.path}/authorize' , \
\ 'token_endpoint': '${mosipbox.public.url}${server.servlet.path}/oauth/token' ,\
\ 'userinfo_endpoint' : '${mosipbox.public.url}${server.servlet.path}/oidc/userinfo' ,\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ mosip.esignet.cache.expire-in-seconds={'clientdetails' : 86400, 'preauth': 180,
## ------------------------------------------ Discovery openid-configuration -------------------------------------------

mosipbox.public.url=http://localhost:8088
mosip.esignet.discovery.issuer-id=${mosipbox.public.url}
mosip.esignet.discovery.issuer-id=${mosipbox.public.url}${server.servlet.path}

mosip.esignet.oauth.key-values={'issuer': '${mosip.esignet.discovery.issuer-id}' ,\
mosip.esignet.oauth.key-values={'issuer': '${mosipbox.public.url}' ,\
\ 'authorization_endpoint': '${mosipbox.public.url}${server.servlet.path}/authorize' , \
\ 'token_endpoint': '${mosipbox.public.url}${server.servlet.path}/oauth/token' , \
\ 'jwks_uri' : '${mosipbox.public.url}${server.servlet.path}/oauth/jwks.json' , \
Expand All @@ -159,7 +159,7 @@ mosip.esignet.oauth.key-values={'issuer': '${mosip.esignet.discovery.issuer-id}'
\ 'grant_types_supported' : ${mosip.esignet.supported.grant.types},\
\ 'response_types_supported' : ${mosip.esignet.supported.response.types}}

mosip.esignet.discovery.key-values={'issuer': '${mosip.esignet.discovery.issuer-id}' ,\
mosip.esignet.discovery.key-values={'issuer': '${mosipbox.public.url}' ,\
\ 'authorization_endpoint': '${mosipbox.public.url}${server.servlet.path}/authorize' , \
\ 'token_endpoint': '${mosipbox.public.url}${server.servlet.path}/oauth/token' ,\
\ 'userinfo_endpoint' : '${mosipbox.public.url}${server.servlet.path}/oidc/userinfo' ,\
Expand Down
11 changes: 11 additions & 0 deletions esignet-service/src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<configuration>
<springProperty scope="context" name="appName" source="spring.application.name"/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="net.logstash.logback.encoder.LogstashEncoder"/>
</appender>

<root level="INFO">
<appender-ref ref="STDOUT" />
</root>

</configuration>

0 comments on commit 6438dcc

Please sign in to comment.