oauth2-proxy / mockoidc

A Mock OIDC Server for Unit & Integration Tests
MIT License
68 stars 40 forks source link

Dockerizing `mockoidc` for Integration Testing #55

Open BenjamenMeyer opened 4 months ago

BenjamenMeyer commented 4 months ago

I have been working on some functionality for mockoidc that would enable it to run under Docker for testing with multiple services. The core functionality breaks down into the following:

NOTE: I did need to expose the discoveryResponse type to DRY it and make sure the client saw the same thing.

This would effectively demonstrate #52 and likely #53 in the process, and make this project useful to those wanting to proof their JWT auth methodology in a Dockerized environment.

Any feedback would be appreciated. Looking to contribute this work at some point here in the future.