Commit 5826bf03 authored by Price, Zach's avatar Price, Zach
Browse files

Accept tokens minted for jupyterhub

parent 94793f84
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ class JWTBearer(HTTPBearer):
                    credentials.credentials,
                    signing_key.key,
                    algorithms=[config.jwt_algorithm],
                    audience=['ADL'],
                    audience=['ADL', 'jupyterhub'],
                )
            except PyJWTError as e:
                log.exception('Unable to validate token')