p2 / OAuth2

OAuth2 framework for macOS and iOS, written in Swift.
Other
1.14k stars 275 forks source link

Unidy Logout Issues #390

Open AlexanderAlbertPinestack opened 2 years ago

AlexanderAlbertPinestack commented 2 years ago

Hi together,

we are using the login via unidy and have the following issue:

For a successful logout unidy requires a session-id from a cookie in the login-request... Is there any possibility to either get to this cookie or reuse the same instance of the web-view where this cookie is stored? Or either provide the WebView used for login and logout by ourselves?

The solution of our Android-Team is to use the external system-browser outside of the application to authenticate and redirect to the application. So the cookie is stored in the system-browser and the user is also redirected there to logout. Maybe that is an option...

We already tried to delete all the cookies as described in section 9 in your documentation, but the list of cookies is always empty...

Best regards and many thanks Alex