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

OAuth first step always get 401 statusCode #166

Closed
yiwangwuqian opened this issue Jul 4, 2019 · 6 comments
Closed

OAuth first step always get 401 statusCode #166

yiwangwuqian opened this issue Jul 4, 2019 · 6 comments

Comments

@yiwangwuqian
Copy link

Now i debug by the developer token.
But i need to switch call method:
[ENSession setSharedSessionConsumerKey:consumerSecret:optionalHost:],and always get 401 statusCode,how to make it work?

@imougy
Copy link
Contributor

imougy commented Jul 5, 2019

This is what I call to setup the SDK, you should use your own keys

  • (void) setupEvernoteSDK{
    [ENSession setSharedSessionConsumerKey:EVERNOTE_CONSUMER_KEY
    consumerSecret:EVERNOTE_CONSUMER_SECRET
    optionalHost:nil];
    }
    There is no error after calling this method. When do you get error?

@yiwangwuqian
Copy link
Author

Now i found evernote's developer fix this issue:
yinxiang-dev@6575c2b

@imougy
Copy link
Contributor

imougy commented Jul 11, 2019

Awesome!
Did you communicate with someone at Evernote? Or how did they hear about it?

@yiwangwuqian
Copy link
Author

Awesome!
Did you communicate with someone at Evernote? Or how did they hear about it?

I sent them a few emails about OAuth.

@Gargo
Copy link

Gargo commented Feb 13, 2021

@yiwangwuqian I have installed your last commit with cocoapods but it still gives 401 error

@yiwangwuqian
Copy link
Author

@yiwangwuqian I have installed your last commit with cocoapods but it still gives 401 error

I think maybe country difference,you could directly connect Evernote's developer。

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

3 participants