-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting additional data for OpenID model #30
Comments
Wouldn't it be better if your provider returned a subclass of |
Yeah, this is what I ended up doing, I guess it seems odd that I must subclass |
Hi again, I've been thinking about this for quite some time now and I understand getting a Pydantic model as a response may not always be what you want. And so I will introduce a way to actually get the bare |
@sammaphey you can just subclass your SSO and override |
This class should allow additional fields instead of just the base fields. There are more useful pieces of information I need as a response from
verify_and_process
such as: User citizenship, phone number, etc.The text was updated successfully, but these errors were encountered: