jina-ai / langchain-serve

⚡ Langchain apps in production using Jina & FastAPI

Home Page:https://cloud.jina.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow sharing user details from the authorizer function

aiswaryasankar opened this issue · comments

Allow sharing user details from the authorizer function - right now the authorization callback function only returns a boolean value regarding if the auth token was valid or not. We would like to additionally be able to extract the decoded id from that header. In general a bit more flexibility around the inputs / outputs of the auth callback would be great for supporting different use cases.