@rp_st There is a problem with the frontend. If I clear the
st-last-access-token-update
cookie and then try to login/signup, supertokens' backend will start giving error. Even after reloading the page, it won't work. To make it work I have to create a session cookie manually and then reload the page, then supertokens will create the
st-last-access-token-update
cookie and then the application will work fine.
r
rp_st
04/05/2023, 9:39 AM
hey @ikak1595 which version of the frontend sdk are you using?
And also, whats the backend error?
i
ikak1595
04/05/2023, 9:53 AM
Ohh got it the issue was that if I use "*" in CORS origin policy, then it does not work but if I specify the frontend url then it is wokring fine. But why does it not work with "*"?
r
rp_st
04/05/2023, 9:54 AM
browsers don't allow * when using credentials in requests.
i
ikak1595
04/05/2023, 9:55 AM
Ohh got it. Thanks a lot.
ikak1595
04/05/2023, 9:59 AM
And I am having another problem, if I use my personal email id while signing up with google, then it gives me
Could not retrieve email. Please try a different method.
error. But if I usemy organization's email then it works fine.
r
rp_st
04/05/2023, 12:20 PM
this means that google is not sending the email for some reason. Is there some scope restriction you added for your account?
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).