Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not showing in the plugins list #207

Open
vincentmarkcelino opened this issue May 16, 2022 · 1 comment
Open

not showing in the plugins list #207

vincentmarkcelino opened this issue May 16, 2022 · 1 comment

Comments

@vincentmarkcelino
Copy link

I just installed the kong-oidc and add the plugins through configuration file. but it doesnt show up in the plugin list. can someone guide me the proper way of adding it to kong?

@MaximePinto
Copy link

MaximePinto commented May 18, 2022

hello, Add it with the curl command, visible in the doc (taking care to replace the ${} ) :)
documentation

curl -s -X POST http://localhost:8001/plugins \
-d name=oidc \
-d config.client_id=kong \
-d config.client_secret= ${CLIENT_SECRET} \
-d config.bearer_only=yes \
-d config.realm= ${REALM} \
-d config.introspection_endpoint=http:// ${HOST_IP} :8180/realms/ ${REALM} /protocol/openid-connect/token/introspect \
-d config.discovery =http:// ${HOST_IP} :8180/auth/realms/ ${REALM} /.well-known/openid-configuration
| python -mjson.tool

If with python -mjson.tool it doesn't work try python3 -mjson.tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants