-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi!
We recently upgraded from the WorkOS Python SDK v4 to v5 and noticed that SsoProviderType changed from an enum to a Literal type alias. In v4 we could write SsoProviderType.GoogleOAuth, but in v5 we have to pass the raw string "GoogleOAuth" since Literal types don’t have attributes at runtime.
Would you consider providing a companion enum or constants module alongside the Literal type? That way consumers get both the type safety from the Literal and a way to reference provider values without magic strings in their code.
Let me know if you have any further questions! Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels