Skip to content

Commit

Permalink
🐛 Closing browser auth doesn't quit
Browse files Browse the repository at this point in the history
 - Clicking close exits the application with code 1

Resolves oktadev#163
  • Loading branch information
AlainODea committed Aug 18, 2018
1 parent 12c8e2d commit e5ed6ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public static String login(OktaAwsCliEnvironment environment) throws Interrupted
public void start(final Stage stage) throws IOException {
stage.setWidth(802);
stage.setHeight(650);
stage.setOnCloseRequest(event -> System.exit(1));
Scene scene = new Scene(new Group());


final WebView browser = new WebView();
final WebEngine webEngine = browser.getEngine();

Expand Down

0 comments on commit e5ed6ad

Please sign in to comment.