I have been trying to use this JWT metadata configuration to extract the ‘sub’ from the JWT token into a custom field but I’m unable to do so.
Is this function broken or only limited to values on the token inside ‘user_data’ ?
Also - I have been trying to figure out how to link the user record in the MongoDB Realm portal to custom_data. Ideally I’d like my custom server to create the record in the custom_data collection - but I cannot seem to find a way for my server to fetch these records.
Can we not set the id of the realm users to be the sub value from the JWT token?
Thanks
B