-
-
Notifications
You must be signed in to change notification settings - Fork 871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Unable login #3054
Comments
@Andrea-Bruno
|
@Andrea-Bruno Your debug logs are required to investigate. |
Everything is as by default, first installation. The scenario is as follows: The first time the application is started from the terminal, it displays a URL to be pasted into the browser to authenticate and obtain the token. Once the authentication is done, the Microsoft site does not show the token (it shows a blank page), So it is not possible to proceed by entering the token from the terminal to complete the authentication. https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow response_type=code ??? |
Without doing a side by side URL code analysis (and I cant at the moment except for the brief check I have done + actual test of v2.4 and v2.5) - the Auth URL used in v2.4.x and v2.5.x is the same ... So Either this is an account issue or something else. Please provide the debug logs as requested. |
Please also read this link very carefully: |
@Andrea-Bruno |
I don't think tath is a problem correlated with my account because with 2.4 I have get the authentication token, but with 2.5.x no! |
@Andrea-Bruno What you are saying is not aligning to how the client operates or how the client presents the URL to obtain the auth token. In both versions - the auth url you are asked to open is the same (I am 99.9999% sure of this) When you authenticate - the URI of the web browser is what you pass back into the application as the response that the application then uses to authenticate itself to Microsoft OneDrive. This has not changed between v2.4 and v2.5 I cannot reproduce this issue you are claiming. Using any OneDrive Personal Account - newly created today or one of my older ones - the authentication request with v2.5 works without issue and when the URI of the browser is passed back to the application, the client authenicates. |
@Andrea-Bruno |
@Andrea-Bruno |
can repro, i think? the page returned is zero bytes long, on both librewolf and ungoogled-chromium. i'm using a business account |
never mind, user skill issue. you copy the url in EDIT: also, i don't know how i managed to make this mistake. i've synced this account with this programme twice now |
@TheAwesome98-Real @Andrea-Bruno |
Describe the bug
Login to Microsoft site does not return token, probably response_type value is wrong, or redirect page is wrong:
http request query:
response_type=code&prompt=login&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
P.S.: I tried the old version 2.4 and the login operation returns the token correctly
Operating System Details
Client Installation Method
From Source
OneDrive Account Type
Personal
What is your OneDrive Application Version
2.5.3
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
testing
Steps to reproduce the behaviour
try to login by link at the first startup
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: