social-core
social-core copied to clipboard
Python Social Auth - Core
As per this [documentation](https://learn.microsoft.com/en-us/azure/active-directory-b2c/b2clogin#what-endpoints-does-this-apply-to), I think the base URL for backend "azuread-b2c-oauth2" for custom domain should be **BASE_URL** = "https://{authority_host}/{tenant_name}.onmicrosoft.com" but not **BASE_URL** = "https://{tenant_name}.{authority_host}/{tenant_name}.onmicrosoft.com" From Azure documentation: > With...
It seems the **AzureADB2COAuth2** backend is missing [send a sign-out request](https://learn.microsoft.com/en-us/azure/active-directory-b2c/openid-connect#send-a-sign-out-request) implementation **API** `GET https://{tenant}.b2clogin.com/{tenant}.onmicrosoft.com/{policy}/oauth2/v2.0/logout?post_logout_redirect_uri=https%3A%2F%2Fjwt.ms%2F`
I still get this error which then if I try to sign up with another user leads to > IntegrityError at /social-auth/complete/azuread-oauth2/ duplicate key value violates unique constraint "social_auth_usersocialauth_provider_uid_e6b5e668_uniq" DETAIL:...
### Expected behaviour Group assignments to be automatically replicated from via Microsoft Azure AD ### Actual behaviour The Microsoft Azure AD authentication backend is not group-aware: It has no mechanism...
I've implemented apple sign-in following this article using subclass: https://github.com/truffls/sign-in-with-apple-using-django/blob/master/backend.md Code: ``` import jwt import requests from datetime import timedelta from django.conf import settings from django.utils import timezone from social_core.utils...
### Expected behaviour Works with Python 3.12. ### Actual behaviour This project uses the [`imp` module](https://docs.python.org/3/library/imp.html) which has been deprecated since Python 3.4 and removed in 3.12: * Raised `PendingDeprecationWarning`...
### Expected behaviour It should be possible to authenticate with PeeringDB. PeeringDB is a community project used by Internet network operators, Internet Exchanges, and colocation facilities to describe interconnection policies,...
**Bug**: https://github.com/python-social-auth/social-core/issues/749 There was someone else solving the exact thing in a different backend: https://github.com/python-social-auth/social-core/pull/298
Bug: https://github.com/python-social-auth/social-core/issues/748 Tested locally and was able to change the Tenant ID from `common` to `organizations` with ``` SOCIAL_AUTH_AZUREAD_OAUTH2_TENANT_ID = "organizations" ```
### Expected behaviour The documentation should state that in order for the access token and refresh token to be refreshed automatically when using `.get_access_token(load_strategy())` to automatically handle the process, the...