Skip to content

Instantly share code, notes, and snippets.

@juzhiyuan
Created August 15, 2022 07:50
Show Gist options
  • Save juzhiyuan/30b3873788d591892ceee2ebb95ba5ff to your computer and use it in GitHub Desktop.
Save juzhiyuan/30b3873788d591892ceee2ebb95ba5ff to your computer and use it in GitHub Desktop.
apiVersion: apisix.apache.org/v2beta3
kind: ApisixRoute
metadata:
name: httpserver-route
spec:
http:
- name: rule1
match:
paths:
- /anything/*
backends:
- serviceName: httpbin
servicePort: 80
plugins:
- name: openid-connect
enable: true
config:
client_id: TTAGEoArG5PnpOLqUz98gSlqMo42YmUf
client_secret: ZoYM4K5U1Ms2FePdpFS4i7vFduU2oqFf7GWgBeKvFyr6P4H6VCJAGUuYV3HzJ4vY
discovery: https://dev-u-vmlz79.us.auth0.com/.well-known/openid-configuration
redirect_uri: http://157.230.193.76/anything/callback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment