Skip to content

Conversation

@salbito-workos
Copy link
Contributor

Description

This changeset adds oauth_credentials to the AuthenticationResponse model.

Documentation

Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.

[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

@salbito-workos salbito-workos requested a review from a team as a code owner November 4, 2024 16:59
@salbito-workos salbito-workos requested a review from cadef November 4, 2024 16:59
@linear
Copy link

linear bot commented Nov 4, 2024

authentication_method: Optional[AuthenticationMethod] = None
impersonator: Optional[Impersonator] = None
organization_id: Optional[str] = None
oauth_credentials: Optional[OauthCredentials] = None
Copy link
Contributor

Choose a reason for hiding this comment

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

Will OAuth credentials exist for all authentication methods or just authenticate with code?

from typing import Literal, List
from workos.types.workos_model import WorkOSModel

OauthCredentialProviders = Literal[
Copy link
Contributor

Choose a reason for hiding this comment

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

Very nit naming suggestion for type

Suggested change
OauthCredentialProviders = Literal[
OauthCredentialProviderType = Literal[

@salbito-workos
Copy link
Contributor Author

Closing for now as the underlying api will be changing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants