I am just starting on the MS Graph toolkit and had few questions. I am trying to build a simple page which would do app-auth with Azure and then have the user search component available to the user. I don't want the user to sign in and do any authentication. For this I understand that we can use custom provider (and using MSAL provider would require the user to sign in). I already have an app registered with client creds and was trying to find examples of how to use custom provider in the script so that the page signs as app. Every example I could find was to use the MSAL provider, is there any example on how to use the custom provider? I am able to get the token with User.read.All permissions via the app client creds.
Thanks, B
Have SPA with client creds via app using app auth and not user auth & use the graph toolkit.
Was able to solve this using as below: