Open Xavlight opened 1 week ago
Hi,
Further information on configuring App registrations.
App registrations Overview
Authentication I tried with or without the tick
Certificates & secrets : Ok 1 key not expires
Token configuration : empty
API Permissions (Use of delegate mode and not application mode (I hope I didn't make a mistake) )
All other options are empty.
If you need any further information, don't hesitate to contact us.
I've already done this with the Google API, ToDoIst, Trello, and I haven't encountered as many difficulties.
Thank you for your help.
Xav
Describe the bug
Hi, I've been going round in circles for several days and I can't find a way out. I'm not sure I've got the right direction yet. I've come to ask you for advice and to help me with my code if that's what I'm looking for. I develop in PHP using the msgraph-sdk-php SDK. I'm developing a web application and I'd like to send tasks to To Do. I'm working on the principle that the user will have to validate their consent the 1st time, and then the aim would be to stop asking them. I would have recovered information such as token and token_refresh to redo actions the next time (stored in the database), at least that's what I think.
To create a task in To Do, I need to perform 2 actions for the user who has validated their consent:
I therefore turned to the ‘OnBehalfOfContext’ method with the idea of making several requests with tokens in the database for the user.
Expected behavior
Is it normal for my token not to be JWT? Why doesn't it work?
How to reproduce
Test code extract (all in one) test-event.php
SDK Version
2.17.0
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
Click to expand log
```Configuration
PHP 8.3
Other information
No response