Hi
I am developing an application on android(3.0) and trying to use the Evernot API. I downloaded Evernote API with sample and trying to play with it.
I working with evernote sample application name "HelloEDAM" , when i run the application following error displays at screen
"Error initializing Evernote API".. i have the API consumer secret and consumer Key which is send by Evernote to me and also providing the right username and password. Any idea what could be the problem?
many thanks !!
That error is shown if we're unable to authenticate to Evernote. Common causes of this are:
Your application doesn't have internet permissions
Your consumer key and consumer secret are incorrect
You requested a web service API key, which must authenticate using OAuth, but are attempting to authenticate using username & password
You are using an Evernote username and password from our production service but are attempting to authenticate against our sandbox server
We also log a message that contains the exception that caused the error.
Related
I have a react-native app that handles authentication using Firebase. That works great
The app calls serverless functions in Azure which id like to add authentication to by selecting an identity provider.
Azure Function App Identity Provider Options
Ive tried using OpenID Connect with the following configuration values but had no luck
metadata url: https://securetoken.google.com/{my-project-id}/.well-known/openid-configuration
client id: 412-3gp*******************.apps.googleusercontent.com
client secret: taken from the link below
https://console.cloud.google.com/apis/credentials?authuser=1&project={my-project-id}&supportedpurview=project
Firebase OpenId configuration
Process:
Get idToken from the already-authenticated Firebase user in my app
Pass that (jwt)idToken as a Bearer authentication header when calling my Azure function
Result:
401 unauthorised response
No response body is present
Expected result:
200 response
Does anyone know if its possible to use Firebase as an OpenId identity provider and if so, where I should get the correct ClientId and Client secret values from?
I notice the are some value in the Firebase console and also some in the Google cloud console
I've been facing exactly the same issue this morning and managed to get it working.
I initially did the same as you and set the client ID to be xxxxxxxx.apps.googleusercontent.com. That client ID value came from the same page you have liked to above for the client secret. Those values still resulted in the 401 error.
When I changed the client ID to be the Firebase project ID it all started working as expected.
When trying to generate an access token in LinkedIn with my client id and silent secret I was responded with a message in JSON format saying:
This application is not allowed to create application tokens
I use v2 OAuth. App yet to be verified.
The documentation says that the access can only be enabled by LinkedIn itself and I couldn't find any documents that could tell me how to do that for now.
Kindly help me to generate the access token. #linkedin
I'm trying to implement google sign in in my .Net Standart Xamarin Forms Application.
Here's what've done:
-I used xamarin.auth to authenticate the user, and I get the access token.
-I tried to do:
App.MobileService.LoginAsync(Microsoft.WindowsAzure.MobileServices.MobileServiceAuthenticationProvider, accesstoken);
And it returned "unauthorized".
From what've searched the acces token that I got above is only for the mobile client, that might be why I'm getting the "unauthorized" error.
According to this, I can get an access token for my web app based on the one I already got for my mobile app.
Can anyone tell me how do I get an access token for Azure Mobile Apps based on the one I got for my mobile client?
I am trying to use google authentication API to have a google log-in on my web API project. Created the OAuth
and I enabled the Google+ API
added the Client ID and Client Secret on my Startup.Auth
app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions()
{
ClientId = "497652290327-gd5h0lrheuqcrtccp2c4rqi8dt5vpfb8.apps.googleusercontent.com",
ClientSecret = "sPGGSo2d7VZX7YnRNGmCPQDv"
});
but when I try to log in the URI dispalys
http://localhost:54388/#error=access_denied
It consued me because I followed every steps from the tutorial of kudvenkat but still encountered this error. Did I do something wrong
Note that the credentials that I am using on this google log in does not exist on my database (if that matters)
Ensure that you have the lastest OWin / FacebookAuth Nuget packages and that your application has a valid connection string to a SQL database with migrations applied if using code-first.
Also check that the clientID & secret are correct, on the google apis console it should show some traffic on the client app
I have my SAML2 enpoint in Azure and tried to integrate with Kentor Sample Mvc application. Everything went fine, Even I can see the SAMLRESPONSE with claims(attributes) in it. But I am getting a certificate error like "The signature verified correctly with the key contained in the signature, but that key is not trusted.' occurred in Kentor.AuthServices.dll" . Could anyone please help me on this?
This means that you've configured the wrong signing key with AuthServices. Since you're using Azure you should be aware that they roll over (i.e. change) keys regularly so you can't just configure the key. You have to configure AuthServices to load the Azure metadata automatically. Set the MetadataLocation property of the IdentityProvider to the metadata address of your Azure tenant.