Open jon92 opened 6 years ago
Hello @jon92,
Thanks for raising this issue. It seems weird because this kind of authentication issue is managed by the API client.
We will dig a bit more.
Best regards.
@jon92 where did you increase the token time? I've got the same problem.
@mikeburns I change these constants : DEFAULT_ACCESS_TOKEN_LIFETIME and DEFAULT_EXPIRES_IN in OAuth2/OAuth2 and OAuth2/OAuth2Client classes. I made this changes in both 1.7 and 2.0 PIM.
Hello, I'm migrating a 1.7 Akeneo EE with hybrid storage to Akeneo 2.0. After one hour it ends with "Akeneo\Pim\Exception\UnprocessableEntityHttpException The access token provided has expired." error message.
I think it's because OAuth2 authentication token expired, but I find it strange that no automatic refresh process is set by default. Do I need to configure something ?
I found a workaround by manually increasing token expiration time but it's not very "clean".