oauth2-proxy / mockoidc

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

Support sub in userinfo field #45

Open FerdinandvHagen opened 1 year ago

FerdinandvHagen commented 1 year ago

The Subject (sub) field is not returned on userinfo requests. According to https://connect2id.com/products/server/docs/api/userinfo#claims this is required.

Added the Subject field and wired it like the other fields.

hut8 commented 1 year ago

This looks great - anything I can do to help it get merged?