microsoft-graph-toolkit | Authentication Providers and UI components | Content Management System library
kandi X-RAY | microsoft-graph-toolkit Summary
kandi X-RAY | microsoft-graph-toolkit Summary
Authentication Providers and UI components for Microsoft Graph
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of microsoft-graph-toolkit
microsoft-graph-toolkit Key Features
microsoft-graph-toolkit Examples and Code Snippets
Community Discussions
Trending Discussions on microsoft-graph-toolkit
QUESTION
I'm trying to use my own MSAL code to work together. Developed with .NET Core 5 MVC. I have similar problem as I found in below link. But I just don't know how to make it work with the proposed answer. Or in other words, I'm still confuse how this integration is done.
[It is mandatory to use the login component in order to use the other components]It is mandatory to use the login component in order to use the other components
[Quickstart for MSAL JS]https://github.com/microsoftgraph/microsoft-graph-toolkit/blob/main/samples/examples/simple-provider.html
I also have read following article too: [Simple Provider Example]https://github.com/microsoftgraph/microsoft-graph-toolkit/blob/main/samples/examples/simple-provider.html
[A lap around microsoft graph toolkit day 7]https://developer.microsoft.com/en-us/office/blogs/a-lap-around-microsoft-graph-toolkit-day-7-microsoft-graph-toolkit-providers/
is there someone can pointing to me more details explanation about how to archive this.
Can someone explains further below response further. How to do it. Where should I place the code and how to return AccessToken to SimpleProvider?
Edited:
Update my question to be more precise to what I want besides on top of the question. Below is the code I used in Startup.cs to automatically trigger pop up screen when user using the web app. When using the sample provided, it is always cannot get access token received or userid data. Question 2: How to save or store token received in memory or cache or cookies for later use by ProxyController and its classes.
//Sign in link under _layouts.aspx
Sign in
ANSWER
Answered 2020-Dec-15 at 21:06Since you are using MVC, I recommend using the ProxyProvider over the Simple Provider.
- SimpleProvider - useful when you have existing authentication on the client side (such as Msal.js)
- ProxyProvider - useful when you are authenticating on the backend and all graph calls are proxied from the client to your backend.
This .NET core MVC sample might help - it is using the ProxyProvider with the components
QUESTION
I'm having the same issue with the new 2.0 preview as per this issue, and the same fix worked (thanks!). However, is there any guidance on how to access the global provider going forward, with v2, so we can prepare?
...ANSWER
Answered 2020-Sep-23 at 15:29v2.0 should work the same as v1.x and this is a bug that we need to fix before release, there shouldn't be anything you need to do here.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install microsoft-graph-toolkit
Build a web application (vanilla JS)
Build a SharePoint Web Part
Build a Microsoft Teams Tab
Use the Toolkit with React
Use the Toolkit with Angular
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page