Skip to content

Instantly share code, notes, and snippets.

@pedroveras
Created December 4, 2020 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pedroveras/76c5b7264bcbe2be5c3257adaa662e74 to your computer and use it in GitHub Desktop.
Save pedroveras/76c5b7264bcbe2be5c3257adaa662e74 to your computer and use it in GitHub Desktop.
Configuring Spring Security
## spring security resource server configuration
spring:
security:
oauth2:
resourceserver:
jwt:
issuer-uri: ${KEYCLOAK_ISSUER_URI:http://localhost:18080/auth/realms/hello}
jwk-set-uri: ${KEYCLOAK_JWKS_URI:http://localhost:18080/auth/realms/hello/protocol/openid-connect/certs}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment