Skip to content

Commit

Permalink
fix(sso): let open use the default browser (#85)
Browse files Browse the repository at this point in the history
Instead of MS Edge.
  • Loading branch information
lazyfrosch authored Feb 4, 2025
1 parent cb01dc3 commit 388f83b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/token.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
StartDeviceAuthorizationCommand,
CreateTokenCommand,
} from "@aws-sdk/client-sso-oidc";
import open, { apps } from "open";
import open from "open";
import { deleteCache, getSession, readCache, writeCache } from "./config.mjs";
import { getArgs } from "./cli.mjs";

Expand Down Expand Up @@ -76,7 +76,6 @@ class AwsAssume {

open(this.deviceConfig.verificationUriComplete, {
wait: true,
app: { name: apps.edge },
})
.catch(() => {
spinner.start();
Expand Down

0 comments on commit 388f83b

Please sign in to comment.