programmatically login to box via okta and add files
I am part of an okta account with many users. It has several applications, one is BOX and one is a custom webapp written in python using django framework
So, users can use their BOX account or the custom webapps after logging into okta.
I would like to be able to create folders in box programmatically in the custom webapp. Specifically, I would like to create folders where I have permission, and also assign the current user (at the time of folder creation) upload privileges to that folder.
is this possible, and if so how (what needs to be done). are there any solutions to this that already exist?
-
Hello,
What you are looking to do is possible, but we don't have a full fledged portal example for developers to use. You should take a look at our UI elements and other developer documentation. My peers Olga and Rui also recently did some blog posts on using UI elements.
Outside of this, you can reach out to Box Consulting to help develop this custom solution.
-
Hi Adams,
I wonder if this Connect Okta identities to Box App Users in a web app guide can help you...
We also have a few python examples using flask that might be interesting since they partially touch your use case. They all use a combination of UI Elements, the box-python-sdk and a flask web app.
Getting started with Box Python SDK and JWT (JWT + UI Elements)
Getting started with Box Python SDK and OAuth 2.0 (oAuth + UI Elements)
Dive into the Box Platform
a sample portal with JWT authentication, UI Elements, file and folder manipulation and document sign.
Hopefully this is "close enough" for you to get started.
Let us know,
Cheers
サインインしてコメントを残してください。
コメント
2件のコメント