A few years ago I signed up as a LinkedIn developer, registered an application and received my Client ID and Secret.
Using OAuth2, when I attempt to get an access token I get an error message saying "OAuth2 access is denied."
I've checked all the settings in my developer account and cannot see anything wrong, so I don't know why access is denied.
RESOLVED: I discovered that if I untick all of the Default Application Permissions with the exception of "r_basicprofile", I no longer get the OAuth2 access denied error.
Related
I am trying to fetch the Authorization token along with the permission r_compliance to access the Linkedin Compliance Events API which failing every time with the message "Could not complete OAuth 2.0 login" on postman client, other permissions are working like r_liteprofile, r_emailaddress, w_member_social while generating authentication access token
Apps seem to list their allowed permissions (the basic 3 you listed) under
https://www.linkedin.com/developers/apps/ > App > Auth > Permissions.
There seems to be no self-service way add a permssions.
I believe the application needs to be approved by LinkedIn to request permission r_compliance or any other permission.
I'm also looking for a way how to apply for the scope at LinkedIn Developer.
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/
When I download publish profile, there is an error. In azure, app service.
Server Error in '/' Application.
Access is denied.
Description: An error occurred while accessing the resources required to serve this request. This may have been caused by an incorrect user name and/or password.
Error message 401.1: Logon credentials were not recognized. Make sure you are providing the correct user name and password. Otherwise, contact the Web server's administrator for help.
I have a fresh asp.net application which has facebook authentication button on it. When I do the authentication on localhost it works flawlessly but when I publish and try to do it on work4me.azurewebsites.net it comes up with the error:
An error occurred while processing your request.
I have set the appID, app secret, domain, correct URL, and http://work4me.azurewebsites.net/signin-facebookas the oauth redirect URI. But it seems like it is hanging for a bit saying "waiting for domain name" before giving me the error.
If I try to enable facebook authentication on the azure portal it works however after logging in the application crashes and gives me the error "Server Error in '/' Application.".
I have followed the guide to enable facebook authentication on azures website but with no luck.
What am I doing wrong here?
EDIT:
It seems to get past that point now, and the error is with the redirect URI. However I have followed this example and use the URL https://work4me.azurewebsites.net/.auth/login/facebook/callback as the guide says but still it wont work, giving me the error that the URI is blocked.
It's been a few months since I first tried this, but I was able to get it working both locally and on Azure, by following the online instructions.
Did you enable User Secrets during development to access your credentials from Application Secrets? If so, you need to create environment variables in your Azure Web App to mirror these values under Application Settings.
Let me know if you still have any issues, then I can look into it some more.
All the best! :)
when i login through any account and click on fiancne documents then it show me this error
Server Error in '/' Application.
Access is denied.
Description: An error occurred while accessing the resources required to serve
this request. The server may not be configured for access to the requested
URL.
Error message 401.2.: Unauthorized: Logon failed due to server configuration.
Verify that you have permission to view this directory or page
based on the credentials you supplied and the authentication methods
enabled on the Web server. Contact the Web server's administrator for additional
assistance.
Version Information: Microsoft .NET Framework Version:2.0.50727.4984; ASP.NET
Version:2.0.50727.4971
Sounds like your documents are in a protected folder that can't be served up to the user that you are using, or possibly to any users. Check the security on the folder where your finance documents are stored.
If you aren't on the development team, then I would suggest contacting your website administrator to have them co-ordinate to determine what the issue is.