leplusorg / openid-connect-provider-debugger

A docker image to test OpenID Connect Providers (OP) using a simple Relying Party (RP).
https://hub.docker.com/r/leplusorg/openid-connect-provider-debugger
Apache License 2.0
14 stars 7 forks source link

Support scope, logout, status #95

Closed tft7000 closed 2 weeks ago

tft7000 commented 1 month ago

In case you are interested, I added few extensions to this project:

thanks for your effort, this project is helpful for me!

thomasleplus commented 1 month ago

@tft7000 I've just read your PR's summary so far but it makes complete sense. Give me a few days to find the time to review your code properly and do some testing but I am already looking forward to merge this in.

Coincidently I am working on upgrading lua-resty-openidc to the newly released 1.8.0 which has some breaking changes. Hopefully nothing that will impact what you did but that's why I want to test both together.

Thank you for your generous contribution!

thomasleplus commented 2 weeks ago

@tft7000 I am done rebasing the branch and merging the PR. Now I just have to think about how to release this but meanwhile it's already available via the docker hub tag leplusorg/openid-connect-provider-debugger:main.

Thank you again for your neat contribution.

tft7000 commented 2 weeks ago

@thomasleplus : thank you very much!

I tested the updates and I get an error error opening session (missing session audience) on return from authentication. ~The error seems to be introduced by the change from openresty:1.25.3.1 -> 1.25.3.2 (FROM openresty/openresty:1.25.3.1-alpine-fat@sha256:17868b5ec232561bc64862160296c3f8480650bc4cbc19b88e056750bd78f527 to FROM openresty/openresty:1.25.3.2-alpine-fat@sha256:aa8ea52fa35a296558aed8b392fb39d575e39dd4a7717fa44f1fd6fc09c1185d).~ At least if I change that line back, it seems to work again. I will have a look, if I see the problem.

Edit:

To fix the current built the Dockerfile needs to add --pin 1.7.6 to the oidc lib:

&& /usr/local/openresty/luajit/bin/luarocks install lua-resty-openidc --pin 1.7.6 \

What do you think?