Optum / kong-oidc-auth

OpenID Connect authentication with Kong gateway
Apache License 2.0
49 stars 19 forks source link

example #7

Closed franviera92 closed 1 year ago

franviera92 commented 3 years ago

please i need example to install, the readme is poor

saroha87 commented 3 years ago

` FROM kong:2.6.0-alpine

LABEL description="Alpine + Kong 2.6.0 + kong-oidc plugin"

ENV OIDC_PLUGIN_VERSION=1.1.0-1 ENV JWT_PLUGIN_VERSION=1.1.0-1

USER root RUN apk update && apk add git unzip build-base luarocks openssl-dev RUN luarocks install lua-resty-jwt 0.2.2-0 RUN luarocks install lua-resty-openidc 1.7.2-1 RUN luarocks install luaossl RUN luarocks install kong-oidc-auth USER kong `

docker build -t kongoidc:1 - < KongDockerfile

` version: '3.7'

networks: drone-net: external: true

services: kong: image: kongoidc:1 container_name: kong ports:

jeremyjpj0916 commented 1 year ago

@saroha87 thanks for being a good community member with example, closing this issue.