Skip to content

Commit

Permalink
feat : github oauth2 설정 파일 추가 (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-ho committed Mar 10, 2024
1 parent e028080 commit 43a3fcd
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ spring:
hibernate:
format_sql: true

security:
oauth2:
client:
registration:
github:
client-id: ENC(cwYhhVQPF7EA6AsPSNX7BkV4o1Q+kWM1SqFh6SfDoxQ=)
client-secret: ENC(sI6HRt2XDATOJWZvrUqzqrdtO++dR9ttm69l3hwsJX8=)

logging.level:
org.hibernate.SQL: debug

Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ spring:
ddl-auto: none
dialect: -- org.hibernate.dialect.PostgreSQLDialect

security:
oauth2:
client:
registration:
github:
client-id: ENC(18FNZ6cjSHBH889DgERn3ZscMgAY8R02b6DBg9l47Xs=)
client-secret: ENC(hUvBA0g45hgzXQ2Ia/ovO8dQWDR67BsVt6Um0h1cSh/qrwKaWdVND06XApXIJMSaZy5Kem6nJx4=)

admin:
univ-id: END(MnnJJNaW4by9rR1oo90AfA==)
name: END(74r3AHMoJBHegbbayNVTRbM3GACH/df5)
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ spring:
jpa:
open-in-view: false

security:
oauth2:
client:
registration:
github:
client-id: ENC(18FNZ6cjSHBH889DgERn3ZscMgAY8R02b6DBg9l47Xs=)
client-secret: ENC(hUvBA0g45hgzXQ2Ia/ovO8dQWDR67BsVt6Um0h1cSh/qrwKaWdVND06XApXIJMSaZy5Kem6nJx4=)

jwt:
secret: ENC(Wi5BD1R9VNidIJj2xI10Ww==)
prefix: "Bearer "
Expand Down
8 changes: 8 additions & 0 deletions src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ spring:
profiles:
active: test

security:
oauth2:
client:
registration:
github:
client-id: ENC(cwYhhVQPF7EA6AsPSNX7BkV4o1Q+kWM1SqFh6SfDoxQ=)
client-secret: ENC(sI6HRt2XDATOJWZvrUqzqrdtO++dR9ttm69l3hwsJX8=)

jpa:
open-in-view: false

Expand Down

0 comments on commit 43a3fcd

Please sign in to comment.