Considering a Wordpress-based site and a management system that runs in the same domain, but with fully independent authentication features, I think of integrating Wordpress authentication with the management system, that is, by logging in to Wordpress , I will automatically access the management system through a link in the Wordpress menu itself.
My need is to have the user data available in the management system, such as id, name, surname among others.
If a user tries to access some restricted internal page of the management system without authenticating, the system should redirect it to Wordpress authentication.
I would like ideas for this integration and technical implementation ideas.