Hey everyone, Does anyone know why supertokens tries to read to https://publicsuffix.org/list/public...
m
Hey everyone, Does anyone know why supertokens tries to read to https://publicsuffix.org/list/public_suffix_list.dat at startup ? As my backend and supertoken instance are in a private subnet, it throws an error as it cannot directly access the internet
r
hey @magicberbere it tries to read that to detect of the api domain or cookie domain config you provided is a part of that list so as to throw an error in case you have miconfigured these values
m
i'll look into it thanks !
Hey @rp_st , is there a way in the Supertokens configuration to avoid the check on https://publicsuffix.org/list/public_suffix_list.dat? My subdomains are private subdomains in my ecs cluster and will not be in the list
r
you can fork the repo and remove that check, and use the forked version
other than that, not really.
the
psl
lib, i think, makes this api call.
m
Hi, thx a lot for your answer ! 🙏
9 Views