Hello There @rp_st
I am writing to address concerns regarding the latency of Supertokens authentication service, particularly for third-party authentication methods such as Google and Apple login.
We have observed a considerable delay when users try to authenticate through Google or Apple via Supertokens, which is having a negative impact on our application's overall performance. We are not certain if the issue is caused by our implementation or Supertokens service. Can you provide suggestions on possible causes and optimizations that can help us improve the response time? We would appreciate your prompt assistance in ensuring smooth and seamless user authentication.
Thanks
r
rp_st
04/01/2024, 12:40 PM
hey @ashutoshdeshmukh.22
Thanks for the details.
- Are you self hosting the supertokens core?
- Are there delays in any other flows? Which other login method do you have and is that slow too?
- Do you have any customsations in the signinup API / functions?
- How did you observe this delay?
a
ashutoshdeshmukh.22
04/01/2024, 12:53 PM
1. We are using supertokens managed service.
2. No, Only in social login such as Google and Apple.
3. No customization.
4. After testing, we integrated those APIs on a custom UI and observed a delay.
ashutoshdeshmukh.22
04/01/2024, 12:53 PM
@rp_st
r
rp_st
04/01/2024, 12:58 PM
Observed a delay in which API call? And how much delay?
rp_st
04/01/2024, 12:59 PM
also, which backend sdk and which version of it are you using?
rp_st
04/01/2024, 1:03 PM
can you also measure the timings of the delay? Do you have any observabililty tool (like datadog) which will also tell you about the timings of when the supertokens core is called from your backend?
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).