We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5439f95 commit cf15f2dCopy full SHA for cf15f2d
src/credentials/auth.ts
@@ -605,7 +605,10 @@ export class Auth implements AuthService, ConnectionManager {
605
})
606
}
607
608
- await provider.invalidate()
+ // XXX: never drop tokens in a dev environment
609
+ if (getCodeCatalystDevEnvId() === undefined) {
610
+ await provider.invalidate()
611
+ }
612
} else if (profile.type === 'iam') {
613
globals.loginManager.store.invalidateCredentials(fromString(id))
614
0 commit comments