mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 23:13:00 +00:00
fix oauth url for SU servers with subdomains
and services without
This commit is contained in:
@@ -257,7 +257,7 @@ class User(HasTraits):
|
||||
# except for resuming containers.
|
||||
if oauth_client is None or not spawner.will_resume:
|
||||
client_store.add_client(client_id, api_token,
|
||||
url_path_join(server.base_url, 'oauth_callback'),
|
||||
url_path_join(self.url, 'oauth_callback'),
|
||||
)
|
||||
db.commit()
|
||||
|
||||
|
Reference in New Issue
Block a user