Facebook Third Party Authentication Error show "An error occurred. Authentication process canceled"

301 views
Skip to first unread message

Narong Tantayanon

unread,
Apr 7, 2016, 2:20:38 AM4/7/16
to Open edX operations
please help.

The Google+ Authentication working but Facebook authentication show error

"An error occurred.

    Authentication process canceled"
    after pass Facebook sign in page and come back to 
Thank you for helping
Hui

Tom Nguyen

unread,
Apr 23, 2016, 12:25:38 PM4/23/16
to Open edX operations
Hi there, 

I tried to have third-party authentication for register form but I cannot make the google button login appear. Can you help me?

Braden MacDonald

unread,
Apr 23, 2016, 8:42:53 PM4/23/16
to opene...@googlegroups.com
Did you get this fixed? I can see there is a google button on your instance now. If something's still wrong, you'll need to provide more information about the problem and what you've tried so far.

--
Braden

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/ecb14270-d7ad-4a69-b2c7-4ceae1a84065%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Message has been deleted

Tom Nguyen

unread,
Apr 24, 2016, 10:19:41 AM4/24/16
to Open edX operations

@Braden I follow this link Not sure what's wrong because I see no errors, just the button not show up. 

Braden MacDonald

unread,
Apr 24, 2016, 2:49:33 PM4/24/16
to opene...@googlegroups.com
Once you've enabled third party auth, you need to access the django admin at /admin/third_party_auth/oauth2providerconfig/ to add and configure each provider, such as Google, Facebook, etc.

--
Braden

On Sun, Apr 24, 2016 at 7:19 AM, Tom Nguyen <th.n...@zap.delivery> wrote:

@Braden I follow this link Not sure what's wrong because I see no errors, just the button not show up. 

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.

Narong Tantayanon

unread,
Apr 25, 2016, 12:02:28 PM4/25/16
to Open edX operations
I create the new app in Facebook for developer and solved the problem but I find the error when unlink the Facebook authen. The error is "ErrorAn error occurred. Please try again."


On Thursday, April 7, 2016 at 1:20:38 PM UTC+7, Narong Tantayanon wrote:

Braden MacDonald

unread,
Apr 25, 2016, 2:31:47 PM4/25/16
to opene...@googlegroups.com
You'll need to check the edxapp LMS console/logs and/or the web browser JS console to figure out what the full error message is.

--
Braden

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.

Narong Tantayanon

unread,
Apr 26, 2016, 1:20:56 AM4/26/16
to Open edX operations
Thank you Branden,

There are no error in /edx/var/log/lms/edx.log relate this issue. But I do't know how to check web browser JS console.

Hui

Braden MacDonald

unread,
Apr 26, 2016, 1:49:04 PM4/26/16
to opene...@googlegroups.com
To debug this: Use Google Chrome, then right-click anywhere and choose "Inspect element". Click on the "Network" tab and enable "Preserve log" and "Disable cache". Click on the Console tab and press the clear button. Then trigger the error. Then check the console tab for error messages, then check the "Network" tab for errors (will be in red); click on the red request that had an error and view the headers and response for error details.

If there are no errors in either of those places, the errors should be in the LMS log somewhere, or else they are getting caught and suppressed.

--
Braden

Message has been deleted

Narong Tantayanon

unread,
Apr 27, 2016, 2:56:02 AM4/27/16
to Open edX operations
Hi Branden,

I got this from header of Network tab:

Request Headers
Provisional headers are shown
Accept:text/html, */*; q=0.01
User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.87 Safari/537.36
X-CSRFToken:tCTAxU1Kn5BeUmiYhlYHLsSnSel0f4lK
X-Requested-With:XMLHttpRequest

Mixed Content: The page at 'https://edx.edaxis.co/account/settings#' was loaded over HTTPS, but requested an insecure image 'http://edx.edaxis.co/static/themes/edaxis-theme/images/logo.fec7df68a4a5.png'. This content should also be served over HTTPS.
3settings#:1 Mixed Content: The page at 'https://edx.edaxis.co/account/settings#' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://edx.edaxis.co/dashboard'. This request has been blocked; the content must be served over HTTPS.


On Thursday, April 7, 2016 at 1:20:38 PM UTC+7, Narong Tantayanon wrote:

Braden MacDonald

unread,
Apr 27, 2016, 12:34:38 PM4/27/16
to opene...@googlegroups.com
That's only the request header, not the response header, so it doesn't show the error details. You'll need to look below to find the "response" header and response data. It should include a status code like "500" or "403". Though there's still a chance it may not have enough information to debug this.

--
Braden

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.

Narong Tantayanon

unread,
Apr 27, 2016, 10:34:54 PM4/27/16
to Open edX operations
It's show  "Failed to load response data".
Also the same in Chrome Canary.


On Thursday, April 7, 2016 at 1:20:38 PM UTC+7, Narong Tantayanon wrote:

Narong Tantayanon

unread,
Apr 28, 2016, 12:30:53 AM4/28/16
to Open edX operations
Using Firefox could see the error:








On Thursday, April 7, 2016 at 1:20:38 PM UTC+7, Narong Tantayanon wrote:

Braden MacDonald

unread,
Apr 28, 2016, 2:23:04 PM4/28/16
to opene...@googlegroups.com
Thanks, that helps. You might have something wrong with your cookie / domain / SSL configuration. It seems that when your browser requests the URL https://edx.axis.co/auth/disconnnect/google-oauth2/15/ , the server thinks that the user is not logged in, so the result is a redirect to the login page, rather than handling the disconnect request.

--
Braden

--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.

Narong Tantayanon

unread,
Apr 29, 2016, 2:26:39 AM4/29/16
to Open edX operations
I have Disabled the SSL and the problem still the same.



On Thursday, April 7, 2016 at 1:20:38 PM UTC+7, Narong Tantayanon wrote:

Narong Tantayanon

unread,
May 2, 2016, 11:13:56 PM5/2/16
to Open edX operations
Thank you Branden, the problem is solved by change SSL's port.



On Thursday, April 7, 2016 at 1:20:38 PM UTC+7, Narong Tantayanon wrote:
Reply all
Reply to author
Forward
0 new messages