TokenHelper class not working on .net core
I was trying to use the TokenHelper class using .net core 3.1 web application. But AppForSharePointOnlineWebToolkit nuget package is unable to generate the code files. It works on .net framework projects though. Also I tried with copying the content of the TokenHelper class too but most of the imports are not supported in .net core.
So is there any .net core compatible version of this class so that we can get clientcontext using accesstoken?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 35a3017a-6d6c-237f-fc57-94247a8f7bf6
- Version Independent ID: 93413445-18fa-9245-ea64-1c1d789dce1e
- Content: Granting access using SharePoint App-Only
- Content Source: docs/solution-guidance/security-apponly-azureacs.md
- Product: sharepoint
- GitHub Login: @VesaJuvonen
- Microsoft Alias: vesaj
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Any updates on this matter? i'm encountering the same problem
Hi, I've the same issue.
This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open or submit a new issue.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues