laravel-microsoft-graph icon indicating copy to clipboard operation
laravel-microsoft-graph copied to clipboard

Rewrote MsGraphAdmin token methods

Open ChrisToxz opened this issue 3 years ago • 0 comments

Had issues with getting admin tokens and sending mail and noted a few mistakes during debugging.

  • getAccessToken() returned a redirection to the oath login page instead of getting a new token in the background.
  • Oath returns the expiration time as duration rather than a timestamp, this is now stored properly

Not sure if it breaks any other parts of the package. I didn't change any methods names and everything is pretty much in the same flow.

ChrisToxz avatar Oct 20 '22 17:10 ChrisToxz