Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

How can I relogin(change account) with OAuth?

ios oauth account

  • Please log in to reply
4 replies to this topic

#1 magpoc

magpoc

  • Pip
  • Title: Member
  • Group: Members
  • 15 posts

Posted 17 August 2012 - 01:22 AM

Hi

I am dealing with the transition about my iOS App to the OAuth SDK version.
I refer the documents and the sample and I am getting okay on in.
But now I am wondering if user wants to change his account to another one, how should he do?
I know the SDK provide the logout function. But when the user try to relogin using the another account after logging out, the web form is still holding the old account and it only show the permission form to ask the user whether give approval or not. At this time, it seems that the user has no chance to change his account. How should I lead the user in this case?

Thanks

#2 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 407 posts

Posted 18 August 2012 - 07:16 PM

We added a logout button in the OAuth flow that should cover this use case. If a user wishes to switch account and is already logged in the browser, he can simply logout and log back in with his other account.

#3 magpoc

magpoc

  • Pip
  • Title: Member
  • Group: Members
  • 15 posts

Posted 19 August 2012 - 09:47 AM

Thank you Julien. My SDK was a little old. I've update to the latest SDK and I've confirmed that I can logout cleanly using the logout method of EvernoteSession.

#4 PetroP

PetroP

  • Pip
  • Title: Member
  • Group: Members
  • 7 posts

Posted 24 August 2012 - 06:49 PM

I am also having the same problem in my Tablet App (webOS) which connects to Evernote, the user is directly seeing Authorize page, once the user logs in first time... I tried clearing browser cache, but no luck

With the new change, are we saying, user will see a logout button also in the Authorize page?

Thanks for your help.

We added a logout button in the OAuth flow that should cover this use case. If a user wishes to switch account and is already logged in the browser, he can simply logout and log back in with his other account.



#5 phils

phils

  • PipPip
  • Title: Alliance Lackey
  • Group: Members
  • 78 posts

Posted 12 September 2012 - 03:43 PM

How can we accomplish this same ability to "log out of an account" in a Windows .NET desktop app?
Phil Seeman,
More Productive Now





Also tagged with one or more of these keywords: ios, oauth, account

1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Bing (1)
Clip to Evernote