-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Hi.
Configuration as following
config =OAuth2Ex.config(
id: client_id],
secret: client_secret],
authorize_url: auth_url],
token_url: token_url],
scope: premissions],
callback_url: callback]
)
token=OAuth2Ex.Token.browse_and_retrieve!(config, receiver_port: oauth_port])
response = OAuth2Ex.HTTP.get(token, token_url])
I guess I should set callback_url same the url of this function.
Because I run code, server wait there for something..
However, facebook give me following message :
{
"error": {
"message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
"type": "OAuthException",
"code": 191
}
}
I've looked into the dropbox doc, and the implementation seems same as facebook.
So I don't know what's wrong around here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels