Skip to content

Commit

Permalink
LPS-169029 Add the oauth2 audience to the init configmaps generated b…
Browse files Browse the repository at this point in the history
…y OAuth2ProviderApplication factories
  • Loading branch information
rotty3000 authored and brianchandotcom committed Nov 18, 2022
1 parent 01e2f37 commit 962bbe2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -90,6 +90,9 @@ protected void activate(Map<String, Object> properties) throws Exception {
HashMapBuilder.put(
externalReferenceCode + ".oauth2.authorization.uri",
serviceAddress.concat("/o/oauth2/authorize")
).put(
externalReferenceCode + ".oauth2.headless.server.audience",
oAuth2Application.getHomePageURL()
).put(
externalReferenceCode + ".oauth2.headless.server.client.id",
oAuth2Application.getClientId()
Expand Down
Expand Up @@ -103,6 +103,9 @@ protected void activate(Map<String, Object> properties) throws Exception {
).put(
externalReferenceCode + ".oauth2.token.uri",
serviceAddress.concat("/o/oauth2/token")
).put(
externalReferenceCode + ".oauth2.user.agent.audience",
oAuth2Application.getHomePageURL()
).put(
externalReferenceCode + ".oauth2.user.agent.client.id",
oAuth2Application.getClientId()
Expand Down

0 comments on commit 962bbe2

Please sign in to comment.