Codoforum related discussions
Proper Paths for SSO Plugin

I am enabling the SSO plugin and this is very confusing.

Even looking at the documentation, I can't get the USER paths correct.

My forum is in: www.mywebsite.com/forum/

Would the paths be: www.mywebsite.com/forum/client.php?
I did download the client.php page from the Pull Requests, but I'm not sure where to upload it.

And what about the other paths? www.mywebsite.com/forum/login.php
www.mywebsite.com/forum/logout.php

you see where I'm going?

If I follow the documentation, it would be something like this:
www.mywebsite.com/forum/client.php
www.mywebsite.com/forum/login.php
etc

Thanks!


icct20worldcup2016india.com

I am enabling the SSO plugin and this is very confusing. Even looking at the documentation, I can't get the USER paths correct. My forum is in: www.mywebsite.com/forum/ Would the paths be: www.mywebsite.com/forum/client.php? I did download the client.php page from the Pull Requests, but I'm not sure where to upload it. And what about the other paths? www.mywebsite.com/forum/login.php www.mywebsite.com/forum/logout.php you see where I'm going? If I follow the documentation, it would be something like this: www.mywebsite.com/forum/client.php www.mywebsite.com/forum/login.php etc Thanks! ________________________ [icct20worldcup2016india.com](http://www.icct20worldcup2016india.com/ "icct20worldcup2016india.com")

I guess we need to improve the documentation.

First is the Get user path. This will depend on where you uploaded the client.php file.

So, if your folder structure is something like this:

  • /mywebsite.com/
    • index.php
    • sso
      • client.php
      • sso.php
    • mywebsite_folder2
    • mywebsite_folder1
    • codoforum
      • admin
      • sys
      • other codoforum folders and files

From above structure, client.php is accessible using
http://mywebsite.com/sso/client.php

So this is the path you will put there.

Next is login/logout and register paths.

These paths depend on your website.
So, if your login form is present in http://mywebsite.com/index.php?action=login

Then, that will be the path.

You are simply giving the paths/links to the forms(register/login) to codoforum.

As for the logout path, not all CMS or website may have a path which will logout the current user.

So, if your website does not have such a route/page, you will have to create one.

For example, if you create a logout.php file in your mywebsite.com folder which will have code to logout the current user, then the logout path will be
http://mywebsite.com/logout.php

Hope, this made the paths a bit more clear.

I guess we need to improve the documentation. First is the Get user path. This will depend on where you uploaded the client.php file. So, if your folder structure is something like this: - /mywebsite.com/ - index.php - sso - client.php - sso.php - mywebsite_folder2 - mywebsite_folder1 - codoforum - admin - sys - other codoforum folders and files From above structure, client.php is accessible using http://mywebsite.com/sso/client.php So this is the path you will put there. Next is login/logout and register paths. These paths depend on your website. So, if your login form is present in http://mywebsite.com/index.php?action=login Then, that will be the path. You are simply giving the paths/links to the forms(register/login) to codoforum. As for the logout path, not all CMS or website may have a path which will logout the current user. So, if your website does not have such a route/page, you will have to create one. For example, if you create a logout.php file in your mywebsite.com folder which will have code to logout the current user, then the logout path will be http://mywebsite.com/logout.php Hope, this made the paths a bit more clear.
112
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft