Skip to content

Commit bfdaad7

Browse files
Merge pull request #334 from jeremyplichtafc/webauth-singlerole-fix
web browser auth single role fix
2 parents 30e18ec + 6f32081 commit bfdaad7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/okta/tools/authentication/BrowserAuthentication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public void start(final Stage stage) throws IOException {
8080
initializeCookies(uri);
8181

8282
SubresourceIntegrityStrippingHack.overrideHttpsProtocolHandler(environment);
83-
webEngine.getLoadWorker().stateProperty()
84-
.addListener((ov, oldState, newState) -> {
83+
webEngine.locationProperty()
84+
.addListener((ov, oldLocation, newLocation) -> {
8585
if (webEngine.getDocument() != null) {
8686
checkForAwsSamlSignon(stage, webEngine);
8787
stage.setTitle(webEngine.getLocation());

0 commit comments

Comments
 (0)