https://supertokens.com/ logo
Title
m

marcglassmanvee

12/13/2022, 1:33 PM
Hi. I want to whitelist api calls from supertokens core (hosted service) to my server, but I'm not sure what routes on my service are being called by core (from this url https://xyz...b95-us-east-1.aws.supertokens.io:3570)
r

rp

12/13/2022, 1:35 PM
hey @marcglassmanvee
the core will never call your API layer.
It's always that the API layer calls the core
m

marcglassmanvee

12/13/2022, 1:36 PM
got it. great. thanks
r

rp

12/13/2022, 1:36 PM
if you are looking for a way to to hooks / custom logic, checkout the overrides feature in the docs.
m

marcglassmanvee

12/13/2022, 1:37 PM
I'm using them when there is a new registration. And I found that the exposes the headers from the api call, which helps us a lot. thanks
r

rp

12/13/2022, 1:38 PM
cheers.