Reply To: OAuth setup for other authentication methods

Home Forums Technical OAuth setup for other authentication methods Reply To: OAuth setup for other authentication methods

#691
dtopps
Keymaster

I have some further suggestions from Yusuf, for which I am very grateful, where he figured out some problems that lay in his .htaccess file. I am reposting his note here because others may run into this:
—————–

I have done some debugging on home.php on line 60

public function action_loginOAuthCallback()

With the issue #104 I have confirmed it is a htacess issue. So I have changed my htacess file as

Options +FollowSymLinks

Turn on URL rewriting

RewriteEngine On

Protect hidden files from being viewed

Order Deny,Allow
Deny From All
# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ /$1 [L,R=301]
Allow any files or directories that exist to be displayed directly

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^ index.php [L]

With this htacess, I was able to login with Twitter, Facebook and Google+ So I suggest to change htacess file as this.
————