-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File picker, SPFx and permissions #63
Comments
I have no answer, Issue reposted on sp-dev-docs repos : |
I am trying something similar, but I only get blank white pages, no error's in the console or blocked network requests. I then downloaded your sample (@rgcircum) but still see only blank pages - is this an indication, that I have the permissions set up incorrect? I tried it in multiple ways (with own app, without, ...) but I have never seen anything but a blank screen. |
If you valid Graph authorization, it's works, but with bug's have that I brought up. |
Correct authorization (working for me) :
|
@rgcircum thanks for your correct authorization. Today I got it working as well! I do not know why it did not work last week - i have not changed anything on the privileges side. Thanks for your help!! But I agree with your comment, some permissions are very large and we will not get them from many clients too. |
@JCrew0 you have (enventualy good) news for this ? |
Hi,
I try to use File picker V8 with SPFX, it's working but permissions as strange behavior.
I have created a sample : https://github.com/rgcircum/spfx-sp-filepicker-sample
I have based the SPFx sample with the sample by @patrick-rodgers (thanks)
The idea is to be able to use the filePicker without declaring an AAD application
i'm get Token by AadTokenProviderFactory
If i'm use the permissions :
This not work, i have this error :
If i add the permission :
The WebPart work!!! but only in SharePoint, on Teams tab, I have always AADSTS500011 error.
For Teams tab, i have tested this permissions :
But, i have the same error.
Another problems, the documentation explains that i can use *.read permissions, but that doesn't work. I thought it could work without the upload functionality, but not. it's a problem, the write permissions is to large (ex : AllSites.Write), lot of client do not accept this permissions for security purpose.
The text was updated successfully, but these errors were encountered: