3

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.

enter image description here

user10447655
  • 180
  • 2
  • 10
  • did you get anywhere with this? – Adam91Holt Apr 23 '19 at 08:53
  • No. Stuck on this last step. I successfully implemented the authentication. I just don’t yet know how to store the metadata. Do check out and upvote [https://mongodb.canny.io/mongodb-stitch/p/store-jwt-metadata](https://mongodb.canny.io/mongodb-stitch/p/store-jwt-metadata) – user10447655 Apr 23 '19 at 16:36
  • 1
    I already upvoted and commented :) Jump onto the slack mongodb community there is a dedicated channel for stitch with some stitch gurus on there from MongoDB - i'm Adam Holt on there - https://join.slack.com/t/mongo-db/shared_invite/enQtMjk0NjQ5OTE2ODY5LWM2NWU1NDZhNzg2NWJmZDMwMzFlNjkwMTEzMzQ5YmU0NzE5NzM0OTllMWE3ODJmZDk3Y2YyMDg1NTg1NDkxYzg – Adam91Holt Apr 24 '19 at 01:44

1 Answers1

0

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

user10447655
  • 180
  • 2
  • 10