0

I wrote a Flutter application, which confirms deliveries (generates signed delivery notes and allows to take pictures). The final step is to send the note pdf file and images to SharePoint.

Currently I register an EntraID app with Redirect URI type as Public client/native (mmobile). I can now upload files to SharePoint, however this requires me to log into microsoft from the mobile device for authentication.

From what I could find, I understand that SharePoint does not allow direct uploading from mobile devices, as they are not secure clients. And if I want to work around the login page I would have to host a separate application, that accepts files and credentials from the mobile app, and then uploads these to SharePoint via Microsoft Graph.

I was wondering if it is possible to solve it without having to write an additional backend application?

1
  • How do you authenticate users in your application? Technically, calling SharePoint without user authentication is possible, of course, you just add the client secret to your app, but then the client will see that secret, so this is basically zero security. The issue is, you need to authenticate the user. Somehow convert your application authentication into SharePoint authentication. If you want some security, of course. How this can be done depends on what kind of authentication your flutter application uses. Commented Oct 31 at 19:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.