[GH-ISSUE #719] Close the authentication browser tab on successful authorization on macOS #468

Open
opened 2026-03-03 16:48:52 +03:00 by kerem · 2 comments
Owner

Originally created by @SSenocico on GitHub (May 27, 2024).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/719

Hi,

Does anyone know how to close the authentication browser tab (Chrome in my case) on successful authorization, opened from a macOS app? Because it remains active on the browser even after I receive the authorization callback.

Screenshot 2024-05-27 at 17 37 45

I'm using OAuth2Swift.authorize(...) method.

Thanks in advance

Originally created by @SSenocico on GitHub (May 27, 2024). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/719 Hi, Does anyone know how to close the authentication browser tab (Chrome in my case) on successful authorization, opened from a macOS app? Because it remains active on the browser even after I receive the authorization callback. ![Screenshot 2024-05-27 at 17 37 45](https://github.com/OAuthSwift/OAuthSwift/assets/60232541/e21d7bc3-30b3-455f-87a6-caa354cc8473) I'm using `OAuth2Swift.authorize(...)` method. Thanks in advance
Author
Owner

@tgentet-obrien commented on GitHub (Oct 15, 2024):

@SSenocico did you get an answer to this one?

<!-- gh-comment-id:2414453791 --> @tgentet-obrien commented on GitHub (Oct 15, 2024): @SSenocico did you get an answer to this one?
Author
Owner

@SSenocico commented on GitHub (Oct 16, 2024):

@tgentet-obrien nop, i didn't get it

<!-- gh-comment-id:2415798040 --> @SSenocico commented on GitHub (Oct 16, 2024): @tgentet-obrien nop, i didn't get it
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#468
No description provided.