Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to re-authenticate revoked ever-note application in ever-note API? #34

Open
nithinbandaru1 opened this issue Feb 19, 2019 · 0 comments

Comments

@nithinbandaru1
Copy link

I am saving my notes into oracle database. I have a valid production activated secret key and value.

I logged in using them form my system and I revoked it from my web base ever-note account in Applications section.

Now I am not able to login from only my system and able is login from other systems. Basically on first login it will ask for permission by showing a popup. But in my system it is not showing it and throwing the following error.

Evernote.EDAM.Error.EDAMUserException: 'Exception of type 'Evernote.EDAM.Error.EDAMUserException' was thrown.'

Error code: AUTH_ERROR

Code being use:

// Be sure to put your own consumer key and consumer secret here.
ENSession.SetSharedSessionConsumerKey("key", "value");

if (ENSession.SharedSession.IsAuthenticated == false)
{
    ENSession.SharedSession.AuthenticateToEvernote();
}

List<ENNotebook> myNotebookList = ENSession.SharedSession.ListNotebooks();

Here ENSession.SharedSession.IsAuthenticated is true but will throw error as mentioned above when I try to fetch notebooks.

I don't see any function in library that can be used to re-authenticate.

If there is any way to re-authenticate?

Below URL says there is a way to do it. But it doesn't help in any way because they didn't mention how to do it.

https://dev.evernote.com/doc/articles/revoked_expired_auth.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant