You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not log in: verify you're using the client secret's value (not ID) and the API permissions are set correctly
Reason
Microsoft doesn't allow public client to redeem authorization code with client_secret, so the login logic needs to update.
401 Unauthorized
error: invalid_client
error_description: AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.
error_codes: 700025
Hi @MlgmXyysd , I've tried to reproduce your issue but I can't. Have you followed the instructions from the Readme on how to create the app registration?
Hi @MlgmXyysd , I've tried to reproduce your issue but I can't. Have you followed the instructions from the Readme on how to create the app registration?
Issue
Could not log in: verify you're using the client secret's value (not ID) and the API permissions are set correctly
Reason
Microsoft doesn't allow public client to redeem authorization code with
client_secret
, so the login logic needs to update.Target code
https://github.com/virtualzone/onedrive-uploader/blob/main/sdk/login.go#L98
Temp solution
Remove
client_secret
in config:The text was updated successfully, but these errors were encountered: