Skip to content

Commit 6f96bd6

Browse files
ZsailerGitHub Enterprise
authored and
GitHub Enterprise
committed
Pass token from login to notebook service client (jupyter-server#112)
* pass token from login to notebook_service_client * Bump to 0.10.2
1 parent bcc84d4 commit 6f96bd6

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.10.1" # pragma: no cover
1+
__version__ = "0.10.2" # pragma: no cover

data_studio_jupyter_extensions/auth/login.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def post(self):
5454
httponly=False,
5555
path=self.base_url,
5656
)
57+
# Configure the notebook service to use the JWT.
58+
if not self.nbservice_client.local_mode:
59+
self.nbservice_client.request_token = data_studio_jwt
5760
else:
5861
self.log.error("Failed to authenticate jwt token")
5962
self.set_status(401)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ testpaths = [
2323
]
2424

2525
[tool.tbump.version]
26-
current = "0.10.1"
26+
current = "0.10.2"
2727
regex = '''
2828
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
2929
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.10.1
1+
0.10.2

0 commit comments

Comments
 (0)