Skip to content

Commit

Permalink
feat(config): ✨ 新增通过系统变量配置密钥的功能
Browse files Browse the repository at this point in the history
  • Loading branch information
david4958606 committed Jul 13, 2022
1 parent c8ff4e1 commit b99690c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- 组、工件、版本设置-->
<groupId>org.netunion</groupId>
<artifactId>manager</artifactId>
<version>0.4</version>
<version>1.0</version>
<!--打包设置-->
<packaging>jar</packaging>

Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ spring:
client:
registration:
github:
client-id: github-client-id
client-secret: github-client-secret
client-id: ${GITHUB.CLIENT-ID}
client-secret: ${GITHUB.CLIENT-SECRET}
keycloak:
client-id: ${keycloak.client-id}
client-secret: ${keycloak.client-secret}
client-id: ${KEYCLOAK.CLIENT-ID}
client-secret: ${KEYCLOAK.CLIENT-SECRET}
provider:
keycloak:
issuer-uri: https://sso.uestclug.org/auth/realms/NU
Expand Down

0 comments on commit b99690c

Please sign in to comment.