-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Description
Please help me, i'm confused
I have project using laravel and laravel socialite, i got access_token from laravel socialite. How to use that access_token in this package?
I use this method
$tokenRequestContext = new OnBehalfOfContext(
config("services.microsoft.tenant"),
config("services.microsoft.client_id"),
config("services.microsoft.client_secret"),
session()->get("microsoft_access_token"),
);
$graphServiceClient = new GraphServiceClient($tokenRequestContext);
$user = $graphServiceClient->me()->get()->wait();
dd($user);
why the process is very long, and the result is invalid grant? I have checked that all parameters (tenant id, client id, etc) are valid
Metadata
Metadata
Assignees
Labels
No labels