Django-google-sso

Latest version: v8.0.0

Safety actively analyzes 702710 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

6.2.1

Fixes

* fix: Add support to Django USERNAME_FIELD ([`b62f560`](https://github.com/megalus/django-google-sso/commit/b62f560255b4662c2816b9d8b5a3b6b12eb73762))

Unknown

* Merge pull request 36 from megalus/develop

develop ([`13984de`](https://github.com/megalus/django-google-sso/commit/13984dea3e550fe96e9de05ef6d501f18f46c4ae))

* Merge pull request 35 from AndrewGrossman/main

Handle user model w/o username field ([`2663dcb`](https://github.com/megalus/django-google-sso/commit/2663dcb93252b78605cab7b0f0367a1d281049eb))

* Handle user model w/o username field

Encountered this in a project based upon Django Cookie Cutter, where the
username field is not present. This change avoids trying to pass
"username" as a default to the user creation if it is not present,
avoiding the error that would otherwise result. ([`c0cb6a5`](https://github.com/megalus/django-google-sso/commit/c0cb6a58d23165764beb86c10f374ec539b8d910))

6.2.0

Features

* feat: add more control on messaging

Use the `GOOGLE_SSO_ENABLE_LOGS` to enable/disable logs. Logs now will show all info send to django messages.

Use the `GOOGLE_SSO_ENABLE_MESSAGES` to enable/disable django messages. ([`c718030`](https://github.com/megalus/django-google-sso/commit/c7180305e05b6d146e6369e4635cebee9de17a57))

6.1.1

Fixes

* fix: add token in request before call pre-create callback ([`2bf6467`](https://github.com/megalus/django-google-sso/commit/2bf6467c948ded6fc98df1e0d07ec84d4a9ffa0c))

6.1.0

Features

* feat: Add support to custom attributes in User model before creation.

Use the `GOOGLE_SSO_PRE_CREATE_CALLBACK` to define a custom function which can return a dictionary which will be used during user creation for the `defaults` value. ([`cc9ad6a`](https://github.com/megalus/django-google-sso/commit/cc9ad6a6dc5263f6c9efd139102bd9070962d97a))

6.0.2

Continuous Integration

* ci: add stale bot for github ([`e4f457e`](https://github.com/megalus/django-google-sso/commit/e4f457e1efcf129ddd7be70bff39572daab605e5))

Fixes

* fix: error when field `locale` was not available on Google API response.

If you need to define a default value for this field, please use the `GOOGLE_SSO_DEFAULT_LOCALE` option.

Also make these fields optional: `given_name`, `given_name` and `picture`

Resolves 31 ([`646d986`](https://github.com/megalus/django-google-sso/commit/646d986d609aba7acc4f0df0ea0f6136a4fe7747))

Unknown

* Merge pull request 32 from megalus/develop

Fix missing field locale in Google Response ([`05a3383`](https://github.com/megalus/django-google-sso/commit/05a33838bfe6f4e3febd83d9b75d54fc824e2d8b))

6.0.1

Chores

* chore: Refactor UserHelper ([`acdf98d`](https://github.com/megalus/django-google-sso/commit/acdf98dee95285afe4aa02c38d53379e47098666))

Fixes

* fix: Bump version ([`59907fd`](https://github.com/megalus/django-google-sso/commit/59907fdb0234e73ffb498b7af5ebce3e36055c94))

Unknown

* Merge pull request 30 from megalus/develop

New Release ([`c95154d`](https://github.com/megalus/django-google-sso/commit/c95154d8b13bd5fb227f323ad7fa1565beea4148))

* Merge pull request 29 from Anexen/fix/empty-username

Fix an issue with empty username when user creation disrupted ([`2830f8c`](https://github.com/megalus/django-google-sso/commit/2830f8c18a290a5487611a1710452ea73db56636))

* fix an issue with empty username when user creation failed ([`6f1121e`](https://github.com/megalus/django-google-sso/commit/6f1121e5164b5bd3557ded6c66a10a79ec8565e0))

Page 2 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.