![](/img/trans.png)
[英]How to send Django AllAuth email verification as alias
我剛剛設置了一個 Google 工作區。 其中一個帳戶有一個別名:info@domain.com。 我想發送來自該別名的所有電子郵件。 我知道我必須通過 EMAIL_HOST_USER 對實際帳戶 email 地址進行身份驗證(我已經完成了),但是如何強制 Django AllAuth 從別名 em ...
[英]How to send Django AllAuth email verification as alias
我剛剛設置了一個 Google 工作區。 其中一個帳戶有一個別名:info@domain.com。 我想發送來自該別名的所有電子郵件。 我知道我必須通過 EMAIL_HOST_USER 對實際帳戶 email 地址進行身份驗證(我已經完成了),但是如何強制 Django AllAuth 從別名 em ...
[英]Login with Google using django-alluath doesn't work correctly
我已經使用django-allauth實現了 Google 授權,但它僅適用於使用django-allauth的用戶和使用django的用戶,授權不起作用並重定向到http://127.0.0.1:8000/ social/signup/消息“注冊。您即將使用您的 Google 帳戶登錄本地主機。作 ...
[英]Django allauth Access blocked: This app’s request is invalid
我正在使用 django allauth。 一切正常,但嘗試使用 Google 注冊時除外。 我收到此錯誤:訪問被阻止:此應用程序的請求無效。 有什么解決辦法嗎? 這是我的谷歌開發者控制台: 我還嘗試將 http 更改為 https,但它也不起作用 ...
[英]Custom django data migration creating records allauth.account EmailAddress model returns error - django.db.migrations.exceptions.NodeNotFoundError:
我正在升級使用默認 django 身份驗證創建的 django 項目。 Email 驗證是通過 8834334896688.contrib.auth.tokens package 實現的。它的工作方式是默認 django 用戶的“is_active”標志最初設置為 False,並在用戶驗證 em ...
[英]ACCOUNT_EMAIL_VERIFICATION = "mandatory" not login in cloud 9
django-allauth 已被使用 我在 settings.py 中設置它並運行服務器,注冊然后收到 email,例如 所以我 go 到鏈接,但后來我無法登錄。 相反,我收到了另一封郵件,但沒有收到任何錯誤消息。 我確定我正確使用了 ID 和密碼。 我應該怎么辦? 雲 9 Python 3. ...
[英]When using django-allauth how do I get the Sites section in the admin page to show?
我是 Django 的新手,我正在嘗試從 William Vincent的專業人士 Django中學習它。 安裝django-allauth並按照書中的步驟操作后,我設法讓登錄和退出注冊功能正常工作。 但是,當我將 go 轉到127.0.0.1:8000/admin時,我沒有看到“站點”部分。 此 ...
[英]Django allauth No Reverse Match
當使用自定義用戶 model 和 email 作為主鍵時,Django allauth 失敗,我在嘗試測試密碼更改功能時了解到這一點。 我不介意進入代碼來解決這個問題,因為我的應用程序仍在開發中,如果有人有任何建議,我仍然可以更改身份驗證。 ...
[英]Unable to start this project in local
我正在嘗試在本地運行該項目,但無法運行。 在本地主機錯誤請求中出現以下錯誤 (400) 我基本上處於初學者水平,任何人都可以在這里幫助我。 ...
[英]Implementing Apple Sign in using django-allauth
我目前正在使用 django-allauth 實現社交登錄。 我在使用 Google、Facebook 等社交登錄時沒有遇到任何問題。但是,當涉及到 Apple 時,package 似乎無法正常工作。 我一直在使用https測試登錄。 此外,我已經完成了 Apple Developer 和 Djan ...
[英]Django allauth Microsoft SSO
我在為我正在處理的 Django 項目配置 SSO 選項時遇到問題。 我希望做到這一點,以便只有我組織中的那些用戶才能登錄應用程序,但我不斷收到以下錯誤: AADSTS50194:應用程序“Azure:應用程序(客戶端)ID”(DjangoAppSSO)未配置為多租戶應用程序。 在“2018 年 ...
[英]How to read query parameter after (hash)#
Here I have Url http://127.0.0.1:8000/accounts/google/login/callback/#access_token=ya29.a0AVA9y1tO4d94lkiHbIT2qjh89k0TNGXFMJ_6XzdHXvxLrsLbphuMaBmEvU ...
[英]problem password_reset_key_message.txt` - dj-rest-auth
我正在創建一個項目(一個 api),但我被困在下一部分。 在發送密碼重置郵件時,具體是password_reset_key_message.txt ,我無法捕獲用戶的'key'和'uid',我想更改地址。 Email 交付工作正常,我的問題是password_reset_key_message. ...
[英]How to customize dj-rest-auth Login serializer
我正在使用 dj-rest-auth、django-allauth 和 djangorestframework-simplejwt。我想自定義 dj-rest-auth 登錄序列化程序以包括以下附加字段:(first_name、last_name、phone_number)、驗證它們、驗證它們並登錄 ...
[英]Use TokenAuthentication AND SocialAuthentication from AllAuth
I've created a new Django Rest API thanks to Django Rest Framework and I want to use two type of authentication: TokenAuthentication AND SocialAuthe ...
[英]How can I get a list of pending invitations for a user using django-invitations?
我可以在django-invitations 的源代碼中看到有一個具有all_valid方法的管理器,但我無法將這些點連接回request.user 。 我也在使用 django-allauth。 ...
[英]Django all auth microsoft graph profile picture
我使用 django-allauth 關於使用用戶的 Microsoft Graph 配置文件進行用戶注冊/登錄。 現在,我可以從 Microsoft 獲取一些標准信息(所有身份驗證的默認設置)。 是否可以檢索個人資料圖片列表? 如何在 allAuth 中實現它? ...
[英]is it possible to have google-auth within django template?
我有一個 django 應用程序,它使用谷歌的 allauth 進行注冊和登錄,但它首先將我帶到谷歌 url 並登錄,即我的 Z099FB995346F31C743F6E40EDB0F359 網站的其他部分不可見。 一旦我通過我的谷歌帳戶登錄,我就會被重定向,所以邏輯工作正常。 我只是想知道是否可 ...
[英]Why django user created via google auth without social application token?
在此處輸入圖像描述使用 django-allauth 用戶通過 google API 登錄,但未創建社交應用程序令牌,如何獲取? ...
[英]How to return refresh token as http only cookie from email verification endpoint
我有一個 DRF API,它使用 dj_rest_auth 和 JWT 令牌和一個 React 前端。 該項目配置為將刷新令牌作為僅 HTTP cookie 發送。 當用戶注冊時,他們必須驗證他們的 email。 理想情況下,我希望 dj_rest_auth 提供的驗證 email 端點來設置刷新令 ...
[英]Email not case sensitive in django allauth
如何使用 Django Allauth 將電子郵件設置為不區分大小寫? 我想將它以小寫形式保存在數據庫中,但不存在 ACCOUNT_PRESERVE_USERNAME_CASING 之類的參數。 ...