application.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. server:
  2. port: 8080
  3. logging:
  4. level:
  5. root: INFO
  6. org.springframework.web: INFO
  7. org.springframework.security: INFO
  8. # org.springframework.boot.autoconfigure: DEBUG
  9. spring:
  10. thymeleaf:
  11. cache: false
  12. security:
  13. oauth2:
  14. client:
  15. registration:
  16. github:
  17. client-id: 7b9c752378a3d95a4529
  18. client-secret: f635d8c7d44a50bdf12f2055e7e44b2bbc9c1043
  19. # google:
  20. # client-id: your-app-client-id
  21. # client-secret: your-app-client-secret
  22. # okta:
  23. # client-id: fooClientIdPassword
  24. # client-secret: secret
  25. # scopes: read,foo
  26. # authorization-grant-type: authorization_code
  27. # redirect-uri-template: http://localhost:8080/login/oauth2/code/custom
  28. # provider:
  29. # okta:
  30. # authorization-uri: http://localhost:8081/spring-security-oauth-server/oauth/authorize
  31. # token-uri: http://localhost:8081/spring-security-oauth-server/oauth/token
  32. # user-info-uri: http://localhost:8088/spring-security-oauth-resource/users/extra
  33. # user-name-attribute: user_name