问题
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