How to remove access token from uber API while logout?

大城市里の小女人 提交于 2020-01-03 16:57:52

问题


I am doing integrate uber sdk using oAuth2Client in ios.I got access token using " https://login.uber.com/oauth/v2/token" but when I was trying to remove token using "https://login.uber.com/oauth/revoke" I got response code "200" but access token not be nill so I am not able to redirect on login screen.and I directly redirect into

If anyone do uber integration in ios application.Please help me!!

Thanks in advance!!


回答1:


Calling POST /oauth/revoke invalidates the access_token, refresh_token pair that you have for that user.

However, that user is probably still logged into Uber.com and has an active & valid session with a cookie in the browser.

You probably do not want to log the user out of the browser session, but if you did want to you could direct them to https://riders.uber.com/logout



来源:https://stackoverflow.com/questions/36623918/how-to-remove-access-token-from-uber-api-while-logout

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!