Skip to content

Commit 8b2a710

Browse files
committed
add --tenant flag to error message when an auth token has been invalidated server side
1 parent 9e2c50c commit 8b2a710

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
* As of v1.4.0 release candidates will be published in an effort to get new features out faster while still allowing time for full QA testing before moving the release candidate to a full release.
44

5+
## v1.6.0rc3 [2023-11-XX]
6+
#### What's New
7+
* None
8+
9+
#### Enhancements
10+
* None
11+
12+
#### Bug Fixes
13+
* Clarified language in an error message when an authentication token has been invalidated on the server side and the resulting action the user must take to clear the token.
14+
15+
#### Dependencies
16+
* None
17+
18+
#### Other
19+
* None
20+
21+
522
## v1.6.0rc2 [2023-10-27]
623
#### What's New
724
* None

src/pybritive/cli_interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def safe_cli():
2828
part1 = '401 - e0000 - aws access token for subject'
2929
part2 = 'not authorized by cognito'
3030
if part1 in str(e).lower() and part2 in str(e).lower():
31-
click.echo('You have logged out of Britive via the browser. Please run `pybritive logout` to clear your '
31+
click.echo('You have logged out of Britive via the browser. Please run '
32+
'`pybritive logout [-t/--tenant <tenant>]` to clear your '
3233
'token and then re-run your command.')
3334
return
3435
if debug:

0 commit comments

Comments
 (0)