Understanding base_url when using HybridAuth

I am trying to use the hybridauth library to authenticate and gain access to user profiles of my corporate OpenID provider.

I am trying to configure all the parameters, but I do not understand some of them:

  • What is the base_url parameter? help says: 'base_url' A URL pointing to the HybridAuth endpoint (where index.php and config.php are found) . But I'm having trouble finding these files or finding out what that means.

  • What exactly do I need to ask my provider to properly configure my OpenID adapter using the hybridauth library?

+6
source share
1 answer

When installing hybridauth, it will contain a folder named "hybridauth". This is where you will find the default index.php and config.php files.

If you install this hybridauth folder in your web root, then your $base_url will be " http://yourhost.com/hybridauth/ "

+2
source

Source: https://habr.com/ru/post/944922/


All Articles