Skip to content

Login Issue - Not redirect to Api.instagram.com #8

@DeepakAK47

Description

@DeepakAK47

When attempting to log in with Instagram using hello.js, the login flow doesn’t redirect to https://api.instagram.com/oauth/authorize as expected.
Instead, it directly navigates to the redirect URI configured in Instagram.

Here’s the code snippet used:

hello('instagram').login({
redirect_uri: instagram_redirect_url,
scope: 'basic, publish'
}, function(e) {
if (!e.error) {
const auth = hello('instagram').getAuthResponse();
console.log(auth.oauth_token, auth.oauth_token_secret);
}
});

hello.init({
instagram: instagram_client_id
});

Issue

The console logs show undefined for both oauth_token and oauth_token_secret.

It seems the login process skips the authorization endpoint and returns without proper tokens.

Expected Behavior

The login flow should first reach Instagram’s authorization URL and return valid access tokens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions