How to get metadata out of AWS Cognito JWT to use

2020-04-10 03:46发布

问题:

I am using AWS Cognito as the custom authentication for my MongoDB Stitch app. I can successfully retrieve the JWT from AWS Cognito and login to MongoDB Stitch. I would like to store attributes in the JWT. I need help on how to get the JWT path to the metadata to put in MongoDB's Users -> Providers -> Metadata Fields.

回答1:

Feature has been added link to MongoDB Stitch. Here is the documentation to Configure Custom User Data.