After successfully implementing oAuth in my application (based off the PHP SDK sample) I can go ahead and use the API properly to add/update notes in a users account.
However, if I come back to my application the next day...I no longer have access and the user must go through the oauth process and re-authorize the application again.
Can I store some of the oauth values in my database, and use them to authenticate a user at anytime?
If so, what values do I need to store? ...there's the oAuth verifier, access token identifier, access token secret.
Do I need to store all three of those values and is storing them in my database an ok method?
Thanks in advance for any help
2 replies to this topic
#1
Posted 12 July 2012 - 07:22 PM
#2
Posted 13 July 2012 - 05:01 AM
Yes, you may store the authentication token and the noteStore URL in a database. That information is enough to avoid re authenticating.
#3
Posted 13 July 2012 - 04:04 PM
Thanks Julien for the reply!!
This sounds like exactly what I need. So I dont need the token secret? Would I ever need that?
Also when you say noteStore URL, I don't see a URL per se...I do see a "Shard id" but thats it. Do I have to create the url myself?
Thanks
This sounds like exactly what I need. So I dont need the token secret? Would I ever need that?
Also when you say noteStore URL, I don't see a URL per se...I do see a "Shard id" but thats it. Do I have to create the url myself?
Thanks
Also tagged with one or more of these keywords: oauth, storage
Learn & Share →
Evernote for Developers →
[OAauth / JS / Meteor] Problem with getting the final access token.Started by jpsarda, Yesterday, 09:56 PM |
|
|
||
Learn & Share →
Evernote for Developers →
Evernote PHP API with oAuthStarted by Asghar, 17 May 2013 |
|
|
||
Learn & Share →
Evernote for Developers →
Abruptly, we got 401 http status when getting request token.Started by zhanglizhe_cool, 10 May 2013 |
|
|
||
Learn & Share →
Evernote for Developers →
Evernote OAuth C# ?Started by dnovatchev, 02 May 2013 |
|
|
||
Android
Evernote Products →
Evernote →
need help on the storage issue.Started by yvon417, 30 Apr 2013 |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












