oauthenticator icon indicating copy to clipboard operation
oauthenticator copied to clipboard

Unable to get a new access token using refreh token in jupyterhub

Open aparna2198 opened this issue 2 years ago • 1 comments

Unable to get a new access token using refresh token in jupyterhub

I want my Refresh token to always have my access token valid(not expired).

I am using Azure AD as authenticator provider. where in my pre_spawn_start method i am using get_auth_state() to fetch access and refresh token and inserting them in my spawner environment. with this it is availble for me in my jypyterhub as environment varaibles. But Refresh token doesnt seem to spin up my access token. and the access token that got generated has wrong audience.

Can someone please help me with this. Thank-you in advance

aparna2198 avatar Aug 07 '23 10:08 aparna2198

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

welcome[bot] avatar Aug 07 '23 10:08 welcome[bot]