Hello,
Using OIDC provider to authenticate and register users on sync-gateway:2.8.0-community results in new users created with percent encoding.
oidc config…
“username_claim”: “email”,
“register”: true
email field in JWT does not have percent encoding, but of course has an @ character
usernames are being created in sync gateway like tim.test1%40example.com
even more, when using admin api, the percent-encoding needs to again be percent encoded
ie. {db}/_user/tim.test1%2540example.com
Is it possible to prevent percent-encoding on OIDC registrations or preprocess username_claim to do same.
I know it's possible to manually create usernames with email without the encoding.
Thanks,
-Tim