hevelius / files_external_onedrive

:mega: :floppy_disk: External storage support for Microsoft OneDrive
GNU General Public License v2.0
72 stars 22 forks source link

doesn't work when typing client ID and secret token #70

Open milimarg opened 2 years ago

milimarg commented 2 years ago

Hello! I created the app on azure and i have a secret token and a client ID. But when i type them in the external storage settings panel, it gives me a red circle a the left...

shadow7412 commented 2 years ago

I'm getting the same thing. I do note that I got a warning about the newest version of nextcloud not being for this version - I suspect this is a factor.

It would be good to have this working though.

amerabdalhabib commented 2 years ago

Dealing with the same issue. Though I'm also confused with which is the secret token and which is the client ID. Can anyone share a screenshot? #noob

miszterx commented 1 year ago

+1

blighter commented 1 year ago

Same, it would be nice to be able to see what the error message is - it doesn't even show in the nextcloud.log (log level 0)

Apofoo commented 1 year ago

I know it is late, but i was facing the same issue and found the problem. In Client ID you should not put the client ID associated to your secret but the Application ID (Visible in the Overview of your Azure App) In Client Secret, you still put the secret. The client ID is not needed anywhere !

assenzostefano commented 1 year ago

I know it is late, but i was facing the same issue and found the problem. In Client ID you should not put the client ID associated to your secret but the Application ID (Visible in the Overview of your Azure App) In Client Secret, you still put the secret. The client ID is not needed anywhere !

So I have to take the ID from Overview>Application (client) ID while the Client Secret I take it from Certificates & secrets>Value ?

Apofoo commented 1 year ago

Exactly

Le sam. 10 juin 2023, 10:47, Stefano Assenzo @.***> a écrit :

I know it is late, but i was facing the same issue and found the problem. In Client ID you should not put the client ID associated to your secret but the Application ID (Visible in the Overview of your Azure App) In Client Secret, you still put the secret. The client ID is not needed anywhere !

So I have to take the ID from Overview>Application (client) ID while the Client Secret I take it from Certificates & secrets>Value ?

— Reply to this email directly, view it on GitHub https://github.com/hevelius/files_external_onedrive/issues/70#issuecomment-1585567988, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5ETX6FADCDH54F2KN43VQTXKQYB7ANCNFSM5TO6KUJA . You are receiving this because you commented.Message ID: @.***>