Auto login not working
Hello new to the forums. Been working on a site that already had vanilla installed and jsconnect as well but they are unable to login. I see all the required files but not sure whats going on. When clicking on the forums link it takes a few seconds then displays this:
"Your sso timed out during the request. Please try again."
any help would be greatly appreciated. Also please forgive me if i don't give more information details on something. Like i said pretty new to this.
0
Comments
Ok after looking more through the code and documentation i understand an sso code is created to help with the login. But my vanilla_forum_url is https://someforum.com/forum. dont i need to set this to a connect page or something? I have a home.php which has the JsSSOString function and the required code. I just dont understand what url i should be using and or what parameters to pass. Thanks!
You need to provide more information / give us a link to your site or a test account.
Have you configured the jsconnect plugin through the dashboard? Does the "test URL" work?
@Bleistivt said:
Thank you so much for your response! Since it was a prior installation that the previous developer did i'm not sure on the dashboard or test link. How would i get to the dashboard?
i'm getting to this page and it looks like the login is going to work but then when i click "sign in with nnn" it gives me a parse error:
Welcome to the community!
What is the full error text?
"parse error" usually means that your login endpoint doesn't deliver in "application/javascript".
Try adding this to your home.php
header('Content-Type: application/javascript');Thanks! It goes here:
http://mysite.com/forum/index.php?p=/entry/jsconnect&client_id=555555555&Target=/
thanks! but that didn't work
Also when i try to click that "login with" link the url becomes:
...index.php?p=/entry/jsconnect/error
Have you tried using ReWriteURL TRUE in the config.php for nice urls?
What does your htaccess file look like ?
http://vanillaforums.org/discussion/comment/220157/#Comment_220157