J
J
job_mail2018-07-26 00:59:26
Yandex
job_mail, 2018-07-26 00:59:26

What implementation of SSO does Yandex use?

Tell me, what implementation of SSO does Yandex use?
How do they achieve authentication without redirects on the second service provider (when already authenticated in the passport)?
I looked in the direction of SAML, but could not achieve implementation without a redirect on the second service provider.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2018-07-26
@xmoonlight

In .htaccess (in the 2nd level domain and in each 3rd level subdomain) add:

php_value session.save_path "/var/www/domain.tld/sessions/"
php_value session.cookie_domain .domain.tld

After a user is authorized on any domain.tld / *.domain.tld domain/subdomain, he will be "transparently" authorized on all other subdomains (and the root domain).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question