Quantcast
Channel: Active questions tagged mongodb-atlas - Stack Overflow
Viewing all articles
Browse latest Browse all 271

How to verify accessToken of a user in mongo atlas?

$
0
0

I'm using mongo atlas/realm in my React project. I log into a user using username and password and after I get an accessToken back from Mongo but with no secret key.

In my serverless Atlas function how would I possibly authenticate my token if I have no secret key? Can someone please help me the mongodb documentation is awful.

Help would be extremely appreciated. Please no ChatGPT responses, they dont help I have already tried.

I tried custom functions and everything but I just cant verify the tokens no matter what I try.


Viewing all articles
Browse latest Browse all 271

Trending Articles