hey there, just asking confirmation abt something:...
# support-questions-legacy
n
hey there, just asking confirmation abt something: in this https://supertokens.com/docs/thirdpartyemailpassword/common-customizations/multiple-clients docs sections is explained how to implement an origin function to accept multiple frontend clients. Is that right that, in addition to those instructions, the cors origin should also be set to "*" (which is missing in the docs)?
r
hey @nik2208.2208 you should not set cors to *, as that will cause issues with sending cookies. Instead, cors libraries have way to provide dynamic origins as well.
n
ok, got it. One more question: do I need an error interceptor in the frontend tohandle and reroot backend 40* error to show the login page or it is all handled automaticallìy?
r
Are you using our pre built ui?
and using SessionAuth?
If yes for both, then the redirection happens on its own
n
ok great