Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GitLab OpenID instance as it breaks with latest pydantic (#143)
Latest versions of Pydantic reject objects that are not created with their values aligned to their hints. This results in GitLab SSO breaking when trying to form the OpenID object, as the response from GitLab comes with an int for the 'id' field while OpenID pydantic model expects a string. Fix is simple and easy with just casting the field to string when creating the object in openid_from_response of GitlabSSO class.
- Loading branch information