Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram Redirect URI Issue on Cordova #1142

Open
siddmegadeth opened this issue Jan 24, 2020 · 0 comments
Open

Instagram Redirect URI Issue on Cordova #1142

siddmegadeth opened this issue Jan 24, 2020 · 0 comments

Comments

@siddmegadeth
Copy link

Hi,

This the error i am getting
{"error_type": "OAuthException", "code": 400, "error_message": "Redirect URI does not match registered redirect URI"}

Below is the prooerty i am using in config block

$authProvider.instagram({
clientId: '',
name: 'instagram',
url: '/auth/instagram',
authorizationEndpoint: 'https://api.instagram.com/oauth/authorize',
redirectUri: window.location.origin,
requiredUrlParams: ['scope'],
scope: ['basic'],
scopeDelimiter: '+',
oauthType: '2.0'
});

Please suggest.What should be the redirect URI on cordova based app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant