A
A
Andrew2018-04-11 16:41:28
Joomla
Andrew, 2018-04-11 16:41:28

How to make cross-domain authorization on joomla 3?

Greetings!
Please tell me how to implement cross-domain authorization of two sites (Main and subdomain) on joomla 3?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2018-04-18
@Salk

Tried everything possible. A week of dancing with a tambourine. But I found a working solution. I described it in full, with pictures here https://anpostudio.ru/blog/all/krossdomennaya-avto...

P
Pavel Gruznykh, 2018-04-12
@pavelcarcass

Ready-made solutions one or two and miscalculated. I did not check it myself:
Option 1
Option 2
The second option has disappeared somewhere from the Joomla Extensions Directory, which is suspicious. It could be rubbed from there due to unpatched vulnerabilities, for example.
As another crutch option: synchronize database tables with users of both sites via mysqldump / mysql console commands:

# выгружаем таблицу с юзерами первого сайта
mysqldump -u пользователь_бд_первого_сайта -pПАРОЛЬ имя_базы_первого_сайта название_таблицы_с_юзерами_первого_сайта > /директория_куда_выгрузить_дамп/дамп.sql
# заливаем дамп таблицы первого сайта в БД второго сайта
mysql -u пользователь_бд_второго_сайта -pПАРОЛЬ имя_базы_второго_сайта название_таблицы_с_юзерами_второго_сайта < /директория_куда_выгружался_дамп/дамп.sql

But of course, this will only ensure the same user base of both sites, but not the simultaneous login of a user on two sites at once.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question