Skip to content

Conversation

divieira
Copy link

Update oauth_callback signature in oauth.mdx, make it clearer that the @cl.oauth_callback specifically is required to be implemented

Update oauth_callback signature in oauth.mdx, make it clearer that the @cl.oauth_callback specifically is required to be implemented

@cl.oauth_callback
def oauth_callback(
async def oauth_callback(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@divieira this doesn't have to be async like the other decorated functions.

token: str,
raw_user_data: Dict[str, str],
default_user: cl.User,
profile: Optional[str] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@divieira which provider has this? I know azure hybrid has the following can you add that too?

id_token: Optional[str],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants