Best approach for handling SharePoint document uploads and environment switching (sandbox → production) in Code Apps? #271
Unanswered
lorenzotrcnl
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’m working on a Custom Code App (client-side) and I’d like to ask for guidance on the best current approach for a specific real-world scenario.
Use case
In my app, users need to:
I also need to support:
So the requirement is:
And ideally:
Current approach I’m considering
One idea I had was:
Questions
Is this approach (client credentials + SharePoint REST from a client-side Code App) actually viable/recommended?
I’m concerned about how to securely manage the
client_secretin a client-side app.What is the recommended pattern today for this use case?
Specifically:
How should environment-specific configuration be handled?
Is a backend/proxy layer required in practice?
(e.g. an API that handles authentication and calls SharePoint on behalf of the client)
Any guidance, examples, or recommended patterns would be really helpful. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions