[GH-ISSUE #729] Issue with Redirecting Back to App After Logout using OAuth #474

Open
opened 2026-03-03 16:48:55 +03:00 by kerem · 0 comments
Owner

Originally created by @Rushabh5 on GitHub (Feb 5, 2025).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/729

Hello There,

I'm currently using an OAuth library for handling login and logout in my app, and the login flow works fine. Safari opens for authentication and successfully redirects back to my app once the user logs in.

However, I'm facing an issue during the logout process. When the user clicks logout, Safari opens the URL to perform the logout mechanism, but once it's complete, the user is unable to return to the app. The redirection back to the app doesn't occur as expected, even though I have confirmed that the post_redirect_uri is correctly configured and matches the one used during login.

Could you please help me troubleshoot this or provide any suggestions on how to resolve the issue?

Here is the video for the login flow that is working fine.

https://github.com/user-attachments/assets/bf45e49d-5fca-47f0-a62c-0b738c0f0863

Originally created by @Rushabh5 on GitHub (Feb 5, 2025). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/729 Hello There, I'm currently using an OAuth library for handling login and logout in my app, and the login flow works fine. Safari opens for authentication and successfully redirects back to my app once the user logs in. However, I'm facing an issue during the logout process. When the user clicks logout, Safari opens the URL to perform the logout mechanism, but once it's complete, the user is unable to return to the app. The redirection back to the app doesn't occur as expected, even though I have confirmed that the post_redirect_uri is correctly configured and matches the one used during login. Could you please help me troubleshoot this or provide any suggestions on how to resolve the issue? Here is the video for the login flow that is working fine. https://github.com/user-attachments/assets/bf45e49d-5fca-47f0-a62c-0b738c0f0863
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#474
No description provided.