Skip to content

Commit

Permalink
Adding properties based on environment
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Jan 20, 2021
1 parent b27afd5 commit 6b9f65f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
8 changes: 8 additions & 0 deletions src/main/resources/application-dev.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
authserver.clientId=1801.a0beec01-617b-4607-8a35-3e46ac43deb5
authserver.clientSecret=bGnCdaFdn11b
authserver.authzBaseUrl=https://gasmyr.gluu.org/jans-auth/authorize.htm
authserver.scope=openid+profile+email+user_name
authserver.redirectUrl=http://localhost:4100/
authserver.logoutUrl=http://localhost:4100/logout.htm
authserver.tokenEndpoint=https://gasmyr.gluu.org/jans-auth/restv1/token
authserver.introspectionEndpoint=https://gasmyr.gluu.org/jans-auth/restv1/introspection
8 changes: 8 additions & 0 deletions src/main/resources/application-jenkins.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
authserver.clientId=1001.70aa88c0-cf99-4f81-b963-9c2ca59cdd5c
authserver.clientSecret=hJtZ4h36fTUe
authserver.authzBaseUrl=https://ce-ob.gluu.org/oxauth/authorize.htm
authserver.scope=openid+profile+email+user_name
authserver.redirectUrl=https://ce-ob.gluu.org/admin-ui
authserver.logoutUrl=https://ce-ob.gluu.org/admin-ui/logout.htm
authserver.tokenEndpoint=https://ce-ob.gluu.org/oxauth/restv1/token
authserver.introspectionEndpoint=https://ce-ob.gluu.org/oxauth/restv1/introspection
14 changes: 6 additions & 8 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
spring.profiles.active=jenkins

authserver.clientId=1801.a0beec01-617b-4607-8a35-3e46ac43deb5
authserver.clientSecret=bGnCdaFdn11b
authserver.authzBaseUrl=https://gasmyr.gluu.org/jans-auth/authorize.htm
authserver.scope=openid+profile+email+user_name
##Redirect URI for Dev
#authserver.redirectUrl=http://localhost:4100/
##Redirect URI for Prod
authserver.redirectUrl=https://ce-ob.gluu.org/admin-ui/
##Logout URI for Dev
#authserver.logoutUrl=http://localhost:4100/logout.htm
##Logout URI for Prod
authserver.logoutUrl=https://ce-ob.gluu.org/admin-ui/logout.htm
authserver.redirectUrl=http://localhost:4100/
authserver.logoutUrl=http://localhost:4100/logout.htm
authserver.tokenEndpoint=https://gasmyr.gluu.org/jans-auth/restv1/token
authserver.introspectionEndpoint=https://gasmyr.gluu.org/jans-auth/restv1/introspection


0 comments on commit 6b9f65f

Please sign in to comment.