Uber logout / login with different user results when showing the previous registered user on iOS

I am currently using SFSafariViewController to register users in uber api. SFSafariViewController does not give you access to manually delete uber files after logging out.

I read this problem: How to remove the access token from the uber API during logout?

My problem is that I can log in and log out with the first user. I can log in with the second user, but he shows me the name of the previous user.

I correctly revoke tokens and call the link https://riders.uber.com/logout .

I was wondering if there is a way to call https://riders.uber.com/logout to clear the cookies set from a previous login attempt. If the page itself can clear the cookie at load time or if there is a request parameter, I can let it clear it.

This will allow me to use the SFSafariViewController directly without having to implement a custom implementation of WebView / Cookie control.

Could this be an error on the logout page that does not clear auth / session cookies?

+5
source share
1 answer

You can redirect to https://login.uber.com/logout to force exit all uber properties.

0
source

Source: https://habr.com/ru/post/1271745/


All Articles