oauth2-proxy / mockoidc

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

Minimize Randomness & allow tester set values #11

Closed NickMeves closed 3 years ago

NickMeves commented 3 years ago

Have in code PrivateKey as DefaultKeypair to eliminate overhead of random key generation & allow consistent test results if desired.

Allow authorization_endpoint code responses to be preset in a queue using MockOIDC.PushCode(code string).