Piotr Suchanek

Results 6 comments of Piotr Suchanek

Ok thank you very much for the help. I appreciate your work so much this package helped me a lot :)

Perhaps this solution will prove useful to those who come here: https://github.com/microsoftgraph/msgraph-sdk-php/issues/1472#issuecomment-2151714684

Here's how I solved this problem by creating my own class that extends `BaseSecretContext` and sends `refresh_token` as a grant type: ```php

@Ndiritu, thanks for the update. I have tested the solution and was able to obtain the `access_token`. However, this token expires after about an hour. I am developing an app...

@Ndiritu Thanks for the quick reply :) I was able to get the api up and running with the help of more or less code like this: ```php $authorizationCodeContext =...