使用杂交时理解base_url参数。

时间:2022-10-22 13:39:44

I'm trying to use the hybridauth library to authenticate and get access to the users profiles of my corporate OpenID provider.

我正在尝试使用hybrid库对我的公司OpenID提供程序的用户配置文件进行身份验证和访问。

I'm trying to configure all the parameters but I don't understand some of them:

我试着配置所有的参数但我不理解其中的一些

  • What exactly is the base_url parameter ?? the help says: 'base_url' the url that point to HybridAuth Endpoint (where index.php and config.php are found) But i'm having troubles to find this files or figure out what it means.

    什么是base_url参数?help说:“base_url”指向杂交端点的url(在这里索引)。php和配置。找到php)但是我找不到这个文件或者弄不明白它的意思。

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

    我到底需要什么要求我的提供者使用hybrid library正确配置我的OpenID适配器?

1 个解决方案

#1


2  

When you install hybridauth, it will contain a folder named 'hybridauth'. That's where you will find the index.php and config.php files by default.

当您安装hybrid dauth时,它将包含一个名为“hybrid dauth”的文件夹。这就是你找到索引的地方。php和配置。默认的php文件。

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

如果您在web根目录中安装这个hybrid文件夹,那么您的端点$base_url将是“http://yourhost.com/hybrid dauth/”

#1


2  

When you install hybridauth, it will contain a folder named 'hybridauth'. That's where you will find the index.php and config.php files by default.

当您安装hybrid dauth时,它将包含一个名为“hybrid dauth”的文件夹。这就是你找到索引的地方。php和配置。默认的php文件。

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

如果您在web根目录中安装这个hybrid文件夹,那么您的端点$base_url将是“http://yourhost.com/hybrid dauth/”