Hey folks, we currently have services hosted on di...
# support-questions-legacy
a
Hey folks, we currently have services hosted on different domains and we are trying to use single authentication service for it. The supertokens core and the backend service interacting with it is on
somedomain.in
while few of the backend services are on
otherdomain.com
. The cookie domain is set to
somdomain.in
and its subdomains due to it frontend web client is not sending cookies in the api requests made to
otherdomain.com
. How can I send the same cookie to
otherdomain.com
. I hope the question is clear, let me know if I need to clarify further.
r
Hey @anupam it’s not possible to share cookies across domains like this.
What you are looking for is to use supertokens as an OAuth provider, which we are not (yet). We are working on this feature, but until it’s released you can build the implicit OAuth flow to achieve this.
a
okay. Could you please elaborate a bit more on the
implicit OAuth flow
?
r
In that thread ^
a
Thanks, will check it out.
15 Views