Comments (3)
I have just now created a Microsoft OAuth app and added it to the demo over here:
https://django.demo.allauth.org/accounts/login/
That at least confirms that things are working out of the box -- you can try signing in there as well.
As for the error, I did read that it can pop up if your app secret is expired/invalid. Can you check the secret?
from django-allauth.
Hi @pennersr
I am not using common.
I have indicated the tenant id and now i keep getting stuck at the sign up page after the authorization is done.
This is my loom https://www.loom.com/share/f730eb85f2c84a3290b5a6dd131dce93?sid=faa251ed-32af-43d0-8db6-6af793ac1164
This is my settings in socialapp table
The tenant in settings is exactly the same as the provider_id
Also this is my django_site
My socialtoken is empty
My socialaccount is empty
socialapp_sites just says site_id 1 and socialapp_id 1
from django-allauth.
The original issue keep getting error retrieving access token
I think was solved by me
- removing all the django-session, socialaccount_socialaccount, socialaccount_socialtoken
- upgrading all the libraries
- set the following settings
# Custom User not using username but using email ACCOUNT_USER_MODEL_USERNAME_FIELD = None ACCOUNT_EMAIL_REQUIRED = True ACCOUNT_USERNAME_REQUIRED = False ACCOUNT_AUTHENTICATION_METHOD = "email"
Then i had a new issue where I keep getting redirected to signup page.
The reason was because I had an existing user that wasn't already connected to the oAuth provider. An issue that was asked and answered at https://stackoverflow.com/q/24357907/80353.
However, given the answer was outdated (written in 2014), I added my updated answer at https://stackoverflow.com/a/78254683/80353
The issue is now totally solved.
Thank you.
from django-allauth.
Related Issues (20)
- Problem with current session API + mfa + social auth HOT 7
- Verifying current session, does not return new tokens HOT 3
- [Query] Social Account per Website rather on User account level
- [Query] Does the framework support Facebook Login for Business?
- How to prevent bots from creating unnecessary sessions in django-allauth? HOT 1
- Incorrect Relying Party (rp) ID in WebAuthn Creation Options Leading to DOMException HOT 1
- [Question] SOCIALACCOUNT_EMAIL_AUTHENTICATION behavior w/ email verified
- Use the p element in passkey-related templates HOT 3
- Move JS inline snippets into JS files. HOT 2
- Remove type=text/javascript from templates HOT 1
- WebAuthn Login POST API - Handling X-Session-Token for Initial Login Request (App Usage) HOT 3
- ModuleNotFoundError: No module named 'allauth.socialaccount.providers.linkedin' HOT 1
- Github Emails are not correctly populated on social login when user doesn't have a public email address HOT 27
- PDF version of the latest documentation
- suspend_request should url-encode the path HOT 3
- How can we `resend the verification code` in `Email verification by code` flow? HOT 7
- Overriding get_reset_password_from_key_url() in custom adapter is being ignored. HOT 1
- `ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION` broken with 64.2.0 HOT 2
- Explicit cancellation of pending login stages HOT 1
- redirect_uri_mismatch error when authenticating with Google using Django Allauth HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-allauth.