question

rranjan avatar image
0 Votes"
rranjan asked deherman-MSFT answered

Can I download the user blob file with the help of my application.(With oauth2 authentication)

I have a requirment. I want that end user download their azure blob file with the help of my application.There are many option such as download from blob,Download from google drive etc.When click on download from blob.User authenticate with oAuth2 and then show all file of the container.Please suggest it is possible.All the user has their own blob,So you cannot do it with blob connectionstring /containername

azure-blob-storage
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered

@rranjan
You can request an OAuth 2.0 access token from the Microsoft identity platform. Azure AD authenticates the security principal (a user, group, or service principal) running the application. If authentication succeeds, Azure AD returns the access token to the application, and the application can then use the access token to authorize requests to Azure Blob storage or Queue storage. For more information and a sample application you can review the page here. You can also refer to OAuth 2.0 On-Behalf-Of flow for more details on this.

Hope this helps. Let us know if you have anymore questions or issues and we will do our best to assist.



Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.