-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Description
Contact Information
1Panel Version
v1.10.34-lts
Problem Description
Description
I am trying to configure Microsoft OneDrive as a backup account, but the "Auth code" validation is rejecting the token generated by the "Acquire" link.
Even after copying the correct code from the redirected URL, the UI displays the error:
"The current authorization code format is incorrect, please confirm again!"
Steps to Reproduce
- Go to Settings > Snapshot/Backup.
- Click to add a Microsoft OneDrive account.
- Click the "Acquire" button and log in to Microsoft.
- Copy the value of the
codeparameter from the redirected URL. - Paste it into the Auth code input box.
Current Behavior
The input field turns red and shows the validation error: "The current authorization code format is incorrect, please confirm again!".
Specifics
- The generated code ends with
%24%24. - I have tried pasting it exactly as copied.
- I have also tried manually decoding
%24to$(replacing%24%24with$$), but the validation still fails. - Screenshot attached below.
Expected Behavior
The 1Panel dashboard should accept the standard Auth Code format generated by Microsoft OAuth or handle the URL encoding characters correctly.
Environment
- 1Panel Version: v1.10.34-lts
- Browser: navegador Chrome
Additional Context
The documentation link followed: https://docs.1panel.pro/user_manual/settings/#auth-code-of-onedrive
Steps to Reproduce
Steps to Reproduce
- Go to Settings > Snapshot/Backup.
- Click to add a Microsoft OneDrive account.
- Click the "Acquire" button and log in to Microsoft.
- Copy the value of the
codeparameter from the redirected URL. - Paste it into the Auth code input box.
The expected correct result
Steps to Reproduce
- Go to Settings > Snapshot/Backup.
- Click to add a Microsoft OneDrive account.
- Click the "Acquire" button and log in to Microsoft.
- Copy the value of the
codeparameter from the redirected URL. - Paste it into the Auth code input box.
Related log output
Additional Information
No response