php - LightOpenID forbidden when redirecting back -
i'm trying use lightopenid, should simple , case of uploading files testing works. when use example-google.php click login button, first time asked me login google , allow/remember site i'm building. redirects example-google.php?login , load of attributes. page says "forbidden. don't have permission access path/to/folder/example-google.php on server." if delete attributes including ?login in url, "login google button" have file permissions correct.
if click button on redirects me forbidden page right away, google remembering i'm logged in , happy site using login.
i've rattled brain on this, tried searching , sorts. appreciated i'm near point of abandoning openid (because other libs seemed more trouble implement).
after lot of searching on issue, got work. issue apache server or hosting provider's apache server has mod_security configured block urls in querystrings. hosting provider hostgator, , did ask them whitelist domains, , stopped giving me 403.
Comments
Post a Comment