Using AppAuth for Twitter, Paypal & Linkedin Sign in
up vote
0
down vote
favorite
I am unable to use any of these successfully.
Twitter Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/twitter/login",
"authorization_scope": "read",
"discovery_uri": "",
"authorization_endpoint_uri": "https://api.twitter.com/oauth/authorize",
"token_endpoint_uri": "https://api.twitter.com/oauth/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.twitter.com/1.1/account/verify_credentials.json",
"https_required": true
The error for twitter is

Paypal Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/paypal/login",
"authorization_scope": "openid email phone address profile",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.paypal.com/signin/authorize",
"token_endpoint_uri": "https://api.paypal.com/v1/oauth2/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.paypal.com/v1/oauth2/token/userinfo",
"https_required": true
Paypal I am able to open the page and signin. I get failure at authorization code exchange.

Linkedin Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/linkedin/login",
"authorization_scope": "r_basicprofile r_emailaddress rw_company_admin w_share",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.linkedin.com/oauth/v2/authorization",
"token_endpoint_uri": "https://www.linkedin.com/oauth/v2/accessToken",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.linkedin.com/v2/me",
"https_required": true
The signin proceeds for linkedin and the redirect page is opened, with the code in the url. The flow stops there. So would I need to capture this on the server? Or AppAuth would handle it? Testing on Android Oreo.
Any suggestions?
add a comment |
up vote
0
down vote
favorite
I am unable to use any of these successfully.
Twitter Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/twitter/login",
"authorization_scope": "read",
"discovery_uri": "",
"authorization_endpoint_uri": "https://api.twitter.com/oauth/authorize",
"token_endpoint_uri": "https://api.twitter.com/oauth/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.twitter.com/1.1/account/verify_credentials.json",
"https_required": true
The error for twitter is

Paypal Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/paypal/login",
"authorization_scope": "openid email phone address profile",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.paypal.com/signin/authorize",
"token_endpoint_uri": "https://api.paypal.com/v1/oauth2/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.paypal.com/v1/oauth2/token/userinfo",
"https_required": true
Paypal I am able to open the page and signin. I get failure at authorization code exchange.

Linkedin Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/linkedin/login",
"authorization_scope": "r_basicprofile r_emailaddress rw_company_admin w_share",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.linkedin.com/oauth/v2/authorization",
"token_endpoint_uri": "https://www.linkedin.com/oauth/v2/accessToken",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.linkedin.com/v2/me",
"https_required": true
The signin proceeds for linkedin and the redirect page is opened, with the code in the url. The flow stops there. So would I need to capture this on the server? Or AppAuth would handle it? Testing on Android Oreo.
Any suggestions?
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am unable to use any of these successfully.
Twitter Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/twitter/login",
"authorization_scope": "read",
"discovery_uri": "",
"authorization_endpoint_uri": "https://api.twitter.com/oauth/authorize",
"token_endpoint_uri": "https://api.twitter.com/oauth/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.twitter.com/1.1/account/verify_credentials.json",
"https_required": true
The error for twitter is

Paypal Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/paypal/login",
"authorization_scope": "openid email phone address profile",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.paypal.com/signin/authorize",
"token_endpoint_uri": "https://api.paypal.com/v1/oauth2/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.paypal.com/v1/oauth2/token/userinfo",
"https_required": true
Paypal I am able to open the page and signin. I get failure at authorization code exchange.

Linkedin Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/linkedin/login",
"authorization_scope": "r_basicprofile r_emailaddress rw_company_admin w_share",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.linkedin.com/oauth/v2/authorization",
"token_endpoint_uri": "https://www.linkedin.com/oauth/v2/accessToken",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.linkedin.com/v2/me",
"https_required": true
The signin proceeds for linkedin and the redirect page is opened, with the code in the url. The flow stops there. So would I need to capture this on the server? Or AppAuth would handle it? Testing on Android Oreo.
Any suggestions?
I am unable to use any of these successfully.
Twitter Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/twitter/login",
"authorization_scope": "read",
"discovery_uri": "",
"authorization_endpoint_uri": "https://api.twitter.com/oauth/authorize",
"token_endpoint_uri": "https://api.twitter.com/oauth/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.twitter.com/1.1/account/verify_credentials.json",
"https_required": true
The error for twitter is

Paypal Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/paypal/login",
"authorization_scope": "openid email phone address profile",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.paypal.com/signin/authorize",
"token_endpoint_uri": "https://api.paypal.com/v1/oauth2/token",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.paypal.com/v1/oauth2/token/userinfo",
"https_required": true
Paypal I am able to open the page and signin. I get failure at authorization code exchange.

Linkedin Config
"client_id": "",
"redirect_uri": "https://callback.com/landing/linkedin/login",
"authorization_scope": "r_basicprofile r_emailaddress rw_company_admin w_share",
"discovery_uri": "",
"authorization_endpoint_uri": "https://www.linkedin.com/oauth/v2/authorization",
"token_endpoint_uri": "https://www.linkedin.com/oauth/v2/accessToken",
"registration_endpoint_uri": "",
"user_info_endpoint_uri": "https://api.linkedin.com/v2/me",
"https_required": true
The signin proceeds for linkedin and the redirect page is opened, with the code in the url. The flow stops there. So would I need to capture this on the server? Or AppAuth would handle it? Testing on Android Oreo.
Any suggestions?
asked Nov 9 at 16:43
user2536851
7918
7918
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53229917%2fusing-appauth-for-twitter-paypal-linkedin-sign-in%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown