farhadk
11/02/2023, 1:06 PMrecipe/user/passwordhash/import
method can be utilized to migrate Firebase users. However, the destination project is configured for Passwordless logins. Also, the recipe/signinup
method, which can be used to import social users, does not provide access tokens. This presents a challenge as MongoDB Atlas lacks an admin API for creating users with Custom JWT. Therefore, creating a user in MongoDB requires a valid access token from Supertokens.
Your guidance and insights on this migration process would be greatly appreciated.rp_st
11/02/2023, 2:11 PMrp_st
11/02/2023, 2:14 PMrecipe/user/passwordhash/import
API is not really relevant to you since you want to use passwordless and third party. This API is for email password password hash importing which won't be needed for passwordless.
About creating an access token, you can do that by calling the cretae new session endpoint of the core using the user ID: https://app.swaggerhub.com/apis/supertokens/CDI/4.0.1#/Session%20Recipe/createNewSession to get back the access tokenrp_st
11/02/2023, 2:15 PMuseDynamicSigningKey
to true
in the APIfarhadk
11/03/2023, 12:29 AM