gpt4 book ai didi

jwt - 如何从 AWS Cognito JWT 中获取元数据以将其用于 MongoDB Stitch 元数据字段?

转载 作者:行者123 更新时间:2023-12-02 16:17:07 26 4
gpt4 key购买 nike

我使用 AWS Cognito 作为我的 MongoDB Stitch 应用程序的自定义身份验证。我可以成功从 AWS Cognito 检索 JWT 并登录 MongoDB Stitch。我想将属性存储在 JWT 中。我需要有关如何获取元数据的 JWT 路径以放入 MongoDB 的用户 -> 提供者 -> 元数据字段的帮助。

enter image description here

最佳答案

功能已添加到 MongoDB Stitch 的链接。这是 Configure Custom User Data 的文档.

关于jwt - 如何从 AWS Cognito JWT 中获取元数据以将其用于 MongoDB Stitch 元数据字段?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55667558/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com