Skip to content

The redirect_uri URL is not supported! #123

@guilhermelirio

Description

@guilhermelirio

'I'm testing the login from the desktop, and it's giving this error!
The popup link that opens is this:

https://www.facebook.com/dialog/oauth?client_id=XXXXXXXXXX&redirect_uri=file:///C:/Users/SERVIDOR/Desktop/sample/www/oauthcallback.html&response_type=token&display=popup&scope=email

If it is by localhost:8000 (Phonegap Test), it works normally!

oauthcallback.html:
<script> window.opener.openFB.oauthCallback(window.location.href); window.close(); </script>

openfb.js: http://pastebin.com/KsJzNFnN

Where is the error?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions