Topic-icon Instagram Oauth not working

Active Subscriptions:

None
11 years 4 months ago #51007 by jchungerford
I'm at a loss. It appears that I cannot get Instagram to work correctly. I've set everything up just like the instructions, have even created new apps and tried those but nothing is working anymore. Did they change to https only?

The Client ID and Secret are correct.

My OAuth stats are:

WEBSITE URL www.opensourceliving.org
REDIRECT URI www.opensourceliving.org


I've tried every combination of the following options:

Disable implicit OAuth: currently checked
Enforce signed header: currently unchecked


Please advise ....
The topic has been locked.
Support Specialist
11 years 4 months ago #51019 by mel
Replied by mel on topic Instagram Oauth not working
In our Instagram application setup guide, we have the following tip:

Please note: If you have a valid SSL certificate installed on your site, you should use the https in the redirect_uri link. In JFBConnect, make sure you enable the "Use SSL For Authentication" setting in the Instagram configuration section.


www.sourcecoast.com/jfbconnect/docs/soci...am-application-setup

Please try to update your redirect URIs to use https and change the setting to Yes in JFBConnect to see if this helps.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago #51022 by jchungerford
Hi mel,

I don't have my SSL Certificate installed yet. Can you confirm that this is a requirement as of now?
The topic has been locked.
Support Specialist
11 years 4 months ago #51025 by alzander
Instagram does not require an SSL certificate. If you have one, JFBConnect will use it, but it's not required. You should Check the "Disable implicit OAuth:" and Un-Check "Enforce signed header".

As for what's wrong, I just tried and I'm getting the error, "Redirect URI does not match registered redirect URI". Please double check your setting for "OAuth redirect_uri:" in your Instagram app. It should likely be:
http://www.opensourceliving.org/index.php
One thing I notice is that your site is accessible over www and non-www. I'd recommend redirecting one to the other as Instagram doesn't let you set two different domains, so one would work and the other likely would not.

I hope that helps, but if not, let me know what you've set for your Redirect URI setting.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 4 months ago #51038 by jchungerford
Hi Alzander,

Everything is set as follows and still nothing. I'm not sure what could be wrong but this isn't something super critical at this time ....

My OAuth stats are:

WEBSITE URL www.opensourceliving.org
REDIRECT URI www.opensourceliving.org/index.php


I've tried every combination of the following options:

Disable implicit OAuth: currently checked
Enforce signed header: currently unchecked
The topic has been locked.
Support Specialist
11 years 4 months ago #51047 by alzander
I just tried again and I was brought to the JomSocial registration page when I clicked the Instagram button. There were no field pre-populated, which could be strange. However, with Instagram, the only fields that we can get are name, website and bio. Email and other data is unavailable, which makes Instagram more of a convenient way to login, but the user will still have to go through a registration flow to at least add their email address.

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