#1142·satellizer

Instagram Redirect URI Issue on Cordova

Author: siddmegadethCreated Jan 24, 2020Updated Jan 24, 2020

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