Get started on your Generative AI adventure with Atlas Vector Search. Click here for more info.
×
MongoDB Developer Community Forums
When a user signin using email/password authentication, accesstoken is returned, how can we validate and decode this token on realm services function backend as we need secret to do so, from where we can get this secret to validate that token is valid
MongoDB Atlas App Services & Realm
queries
Areeb_Zaidi
(Areeb Zaidi)
September 26, 2023, 10:53am
1
const decoded = jwt.verify(token, secretKey);