Skip to content

Commit

Permalink
Merge pull request #124 from britive/develop
Browse files Browse the repository at this point in the history
v1.6.1rc3
  • Loading branch information
twratl authored Dec 14, 2023
2 parents 55762ab + dfe3413 commit 83880c6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

* 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.

## v1.6.1rc3 [2023-12-13]
#### What's New
* None

#### Enhancements
* None

#### Bug Fixes
* Continuing to troubleshoot the `401 - EOOOO` login issue.

#### Dependencies
* None

#### Other
* None


## v1.6.1rc2 [2023-12-08]
#### What's New
* None
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pybritive
version = 1.6.1rc2
version = 1.6.1rc3
author = Britive Inc.
author_email = [email protected]
description = A pure Python CLI for Britive
Expand Down
2 changes: 2 additions & 0 deletions src/pybritive/britive_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def login(self, explicit: bool = False, browser: str = None):
token=self.token,
query_features=False
)
self.b.my_access.whoami() # this is what may cause UnauthorizedRequest
except exceptions.UnauthorizedRequest as e:
raise click.ClickException('Invalid API token provided.') from e
except exceptions.InvalidRequest as e:
Expand All @@ -123,6 +124,7 @@ def login(self, explicit: bool = False, browser: str = None):
token=self.credential_manager.get_token(),
query_features=False
)
self.b.my_access.whoami() # this is what may cause UnauthorizedRequest
break
except exceptions.UnauthorizedRequest as e:
if '401 - e0000' in str(e).lower():
Expand Down

0 comments on commit 83880c6

Please sign in to comment.