Closed m1212e closed 2 weeks ago
@m1212e It looks like you are using the discovery functionality in openid-client, so you need to point the env var PUBLIC_OIDC_AUTHORITY
to the .well-known
endpoint in the mock-oauth2-server. Also the mock-oauth2-server main functionality is built around supporting multiple issuers with an issuerId
, so the url should also contain an identifier for your particular issuer - e.g. http://localhost:8080/yourissuerid/
PUBLIC_OIDC_AUTHORITY=http://localhost:8080/default/.well-known/openid-configuration
This is it, thanks so much!
Hi, I get this error when I try to run the container as a dev mock oidc instance:
I use the
openid-client
npm package in Node.js to run OIDC requests etc. against the container.This is the container compose config:
these are the configured env config vars:
Do you happen to know whats causing this? I think I misconfigured the mock container but I cannot seem to find what I need to change! Thank you very much!