I have an online store with subdomains like .site.ru, and when authorizing through Oneall, the redirect goes to the main site site.ru, so logging into the account does not happen on .site.ru. I did not find in the documentation how to fix the reverse redirect.
Please sign in to your OneAll account to ask a new question or to contribute to the discussions.
Please click on the link below to connect to the forum with your OneAll account.
Answers
Seems like the session isn't persisting across subdomains, which is why logging in on
.site.ru
redirects tosite.ru
without maintaining authentication. Here are a few things you can check:.site.ru
) instead of a specific subdomain. In PHP, for example:php session_set_cookie_params(['domain' => '.site.ru']);
SameSite=None; Secure
attributes in cookies for cross-subdomain logins.If the documentation doesn’t explicitly mention subdomains, try reaching out to OneAll support or checking their API settings for custom callback URLs.