microsoftgraph / msgraph-sample-reactspa

This sample demonstrates how to use the Microsoft Graph JavaScript SDK to access data in Office 365 from React browser apps.
MIT License
125 stars 105 forks source link

Single Tenant, Organization only #47

Closed ingimar-eyfjord closed 4 years ago

ingimar-eyfjord commented 4 years ago

Hello, how would I go about configuring this for single-tenant purposes?

Currently, this training is for multi-tenant use, all users allowed. I wish to restrict my app to only my organization. Is there a different node package that needs to be used instead of msal?

Best regards. Ingimar

jasonjoh commented 4 years ago

No, no other package required. What you'd need to do is:

ghost commented 4 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.