Topic-icon Getting URL when trying to login with fb and google + button

Active Subscriptions:

None
8 years 9 months ago - 8 years 9 months ago #53911 by tekdinet
Hi,
I have created app using my facebook and google + account On my site but I am getting error as follows when I am trying to login with facebook button:
Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.

I have created app and used its App Id and secrete key add login with facebook button in the JFBComponent.
My Domain :casite-666386.cloudaccess.net
Site URL:http://casite-666386.cloudaccess.net/
Deauthorize Callback URL: casite-666386.cloudaccess.net/index.php?...task=deauthorizeUser
Valid OAuth redirect URIs casite-666386.cloudaccess.net/index.php?...task=deauthorizeUser
But Still its not working Please help me to solve this
And for Login with google + getting error as follows :400. That’s an error.

Error: redirect_uri_mismatch

Application: 16by64

You can email the developer of this application at: This email address is being protected from spambots. You need JavaScript enabled to view it.

The redirect URI in the request: casite-666386.cloudaccess.net/index.php?...amp;task=accesstoken did not match a registered redirect URI.

Please try to help me ASAP

Regards
Deepali
Last edit: 8 years 9 months ago by tekdinet.
The topic has been locked.
Support Specialist
Your Deauthorize and Valid OAuth redirect URLs are both using the same URL. The one for deauthorization. You'll need to fix the Valid OAuth Redirect URL. Please see our Facebook Application Setup Guide for more information on the specific URL you'll need to set there. In general, you can leave that setting blank if you want. Populating adds a slight amount of security to prevent other applications from trying to authenticate against your URLs, but it'd be very difficult to do that as the 'bad party' would also need your Facebook Secret Key, which they shouldn't have.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

Thanks for the reply Alex.
I have exactly same procedure which is there in the documentation but still its not working for the following things
1.Still getting the same verror for login with facebook Button:
Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
2.Google + Button getting error as follows:


400. That’s an error.

Error: redirect_uri_mismatch

Application: 16by64

You can email the developer of this application at: This email address is being protected from spambots. You need JavaScript enabled to view it.

The redirect URI in the request: casite-666386.cloudaccess.net/index.php?...amp;task=accesstoken did not match a registered redirect URI.


and one more thing in the Project Developer email Id I have given This email address is being protected from spambots. You need JavaScript enabled to view it. but still why its showing developer of this application at: This email address is being protected from spambots. You need JavaScript enabled to view it.

Can you please suggest me solutions for above both the things.
Thanks!
The topic has been locked.
Support Specialist

1.Still getting the same verror for login with facebook Button:
Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains.
2.Google + Button getting error as follows:

The URL that's shown there is completely incorrect. It has com_jsn as the component value, instead of com_jfbconnect. I don't know what com_jsn is or why it'd be inserting itself into our URL, but that definitely looks to be the problem. Can you disable whatever com_jsn is to see if it fixes the issue? If there's another extension thats intercepting and altering our URLs, there's not much we'd be able to do about that.

If the Facebook authentication URL is being altered somehow, that would cause the exact same issue. For the Facebook App specifically, I'm assuming you updated (or removed) that OAuth URL setting that was incorrect earlier, correct?

and one more thing in the Project Developer email Id I have given This email address is being protected from spambots. You need JavaScript enabled to view it. but still why its showing developer of this application at: This email address is being protected from spambots. You need JavaScript enabled to view it.

That could be a caching issue on Google's end just showing the old value. We don't display that email address, so it's something on Google's end that would be showing that old value.

Please let us know how that goes,
Alex
The topic has been locked.