Skip to content

Commit

Permalink
Allow token query parameter to be any string
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Sep 24, 2021
1 parent 839a1af commit f5645d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/jupyterlab/fps_jupyterlab/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from typing import Optional

from babel import Locale # type: ignore
from pydantic import UUID4
import jupyterlab # type: ignore
import jupyverse # type: ignore
from fastapi import APIRouter, Response, Depends, status
Expand Down Expand Up @@ -72,7 +71,7 @@
@router.get("/")
async def get_root(
response: Response,
token: Optional[UUID4] = None,
token: Optional[str] = None,
auth_config=Depends(get_auth_config),
jlab_config=Depends(get_jlab_config),
user_db=Depends(get_user_db),
Expand Down

0 comments on commit f5645d2

Please sign in to comment.