We tried to authenticate via linkedin api , it throws error as
"Invalid http request". Please check the attachement.
FYI: Its already worked properly , but now we don't why not working suddenly.error
Related
I have integrated LinkedIn in my ASP.Net website and trying to read user profile data who logs in. I am accessing following URL but getting error. My application has authorized and got access token from LinkedIn.
URL
https://api.linkedin.com/v1/people/MyAccessToken
Error
The remote server returned an error: (401) Unauthorized.
It seems I am not using correct format to pass access token to this URL to get the data. Can someone please guide me on correct format.
the accesstoken should be added as an Bearer-Token and the API path should be :
https://api.linkedin.com/v1/people/person_ID/
Attempting to authenticate with my LinkedIn application is failing. The request with ?code= appears to time out, and returns an ERR_EMPTY_RESPONSE. Nothing has changed with my LinkedIn application configuration or with my integrations with the LinkedIn application. Unfortunately it does not look as though the LinkedIn API provides a status page.
I am trying to use Facebook OAuth to authenticate user login in a asp.net web api app.
I am redirected to this page "https://www.facebook.com/common/invalid_request.php" get this error "Your request could not be processed.
Please try again" when logging in via the returned HTML from the ChallengeResult in the web api when hitting the api/Account/ExternalLogin endpoint.
I've already updated the Microsoft.Owin.Security.Facebook NuGet package in the web api but still having the error. I assume that this is a bug (thinking).
I've read an article about external OAuth authentication from:
http://bitoftech.net/2014/08/11/asp-net-web-api-2-external-logins-social-logins-facebook-google-angularjs-app/ but I still get the error.
Any workaround with this? This is my first time working with this.
I'm working on a web api project which is secured by Azure AD endpoint v2.0. However, I get tons of 401 errors, even I copy the code from the working examples for Github.
My question is how can I debug the 401 error in a most efficient way? As there is little information for the error message:
{
"Message": "Authorization has been denied for this request."
}
You can use Fiddler to dig into the details of exactly what is being sent and received, when.
Have you made sure the user you're attempting to authenticate with does not have multifactor authentication enabled? You'll get 401's for seemingly no reason if MFA is enabled and you try to auth programmatically. If you have already disabled it, post up your auth code here and we'll take a close look.
Error type: "Forbidden". Error message: "The referrer null does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions." Domain: "usageLimits". Reason: "ipRefererBlocked".
I'm getting this error trying to use Youtube api with browser key.
On my wordpress site i'm already using maps api, which works fine with that same browser key.
What is going wrong?
Go to Google Dev Console: https://console.developers.google.com , then go to Credentials, then click on the neame of the API keys you are useing in your site, then add you domain name in the "Accept requests from these HTTP referrers (web sites) (Optional)",
example:
*.yourdomain.com/*
note: you need go to domain verification area and verify that you own the domain, also make sure to enable "YouTube Data API" under "YouTube APIs"