How to get metadata out of AWS Cognito JWT to use it for the MongoDB Stitch Metadata Fields?

吃可爱长大的小学妹 提交于 2019-12-01 22:02:22

问题


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.

来源:https://stackoverflow.com/questions/55667558/how-to-get-metadata-out-of-aws-cognito-jwt-to-use-it-for-the-mongodb-stitch-meta

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!