Skip to content

Close in-app browser before awaiting token exchange in Cordova adapter#285

Merged
pskopek merged 1 commit intokeycloak:mainfrom
jonkoops:fix/cordova-close-browser-before-token-exchange
Apr 21, 2026
Merged

Close in-app browser before awaiting token exchange in Cordova adapter#285
pskopek merged 1 commit intokeycloak:mainfrom
jonkoops:fix/cordova-close-browser-before-token-exchange

Conversation

@jonkoops
Copy link
Copy Markdown
Contributor

Fixes a regression introduced in 26.2.1 (#102) where the Cordova in-app browser stays open during the async token exchange, causing Android to briefly flash a "Web page not available" error before the browser closes.

Closes #209

Copy link
Copy Markdown
Contributor

@pskopek pskopek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@pskopek pskopek merged commit 7c1d5ed into keycloak:main Apr 21, 2026
4 checks passed
@jonkoops jonkoops deleted the fix/cordova-close-browser-before-token-exchange branch April 21, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In-app-browser briefly shows "Web page not available" before closing (Cordova adapter, Android)

2 participants