Closed (fixed)
Project:
Microsoft 365 Connector
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2020 at 13:50 UTC
Updated:
16 Sep 2020 at 15:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
str8 commentedComment #3
fabianderijkCan you explain a bit why the expires_on parameter was wrong for you? We have tested it like it was, and it seem to work for our situations.
Comment #4
str8 commentedIt was wrong because operation with adding time() was done inside oauth2-client. You could check it here vendor/league/oauth2-client/src/Token/AccessToken.php 78 line. And this property 'expires' returns with getExpires() method.
Comment #5
fabianderijkGood one. I never noticed this. Can you update the patch to fix the expires_on parameter, and add a new issue with the added method? I think the expires_on parameter need to be fixed ASAP (it's a bug) and the new method is a new feature that we should test thouroughly.
Thanks in advance!
Comment #6
str8 commentedYes. No problem. Here is a new patch. An issue with the new method I'll create a little bit later.
Comment #7
str8 commentedComment #8
fabianderijkThis is now fixed in the dev version
Comment #10
fabianderijk