Skip to content

Commit

Permalink
generate schema and validate example for new upstream-oauth plugin (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
lena-larionova authored Aug 22, 2024
1 parent 705ed93 commit a15dc8f
Show file tree
Hide file tree
Showing 2 changed files with 761 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/upstream-oauth/_3.8.x.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: upstream-oauth
config:
oauth:
token_endpoint: "http://test.test"
grant_type: client_credentials
client_id: CLIENT_CREDENTIALS_GRANT_POST_AUTH_CLIENT_ID
client_secret: CLIENT_CREDENTIALS_GRANT_POST_AUTH_CLIENT_SECRET
scopes:
- "openid"
- "profile"
behavior:
upstream_access_token_header_name: X-Custom-Auth
Loading

0 comments on commit a15dc8f

Please sign in to comment.