Skip to content

Instantly share code, notes, and snippets.

@DanukaPraneeth
Created August 15, 2020 13:44
Show Gist options
  • Save DanukaPraneeth/5c229ca4ce7f9496183d4617172b5441 to your computer and use it in GitHub Desktop.
Save DanukaPraneeth/5c229ca4ce7f9496183d4617172b5441 to your computer and use it in GitHub Desktop.
apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
name: oidc-plugin
config:
client_id:
- kong-cli
client_secret:
- 23434-434-vdfg34-fsdf-534
verify_claims: false
authenticated_groups_claim:
- clientId
upstream_headers_claims:
- clientId
upstream_headers_names:
- x-client-id
issuer: https://sso-server.com/auth/realms/project
auth_methods:
- bearer
hide_credentials: true
upstream_access_token_header: ' '
plugin: openid-connect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment