Why the Epic Online Service (EOS) OSS access token is not refreshed?

AB_Jonathan
Wed, 22 Nov 2023 15:27:46 +0000
C++

I found an occurence where the EOS OSS’ IdentityInterface does not return a correct access token (expired).

I used (IdentityInterface->GetAuthToken(...)) to get the token.

I created a scheduler run each minute to obtain the token and detect whether there is a change or not.

The access token expiration is 2 hour. But at the end of the 2nd hour, the scheduler didn’t detect any change of access token.

But, at 3rd hour, the scheduler detected a change of access token which is a new token that was refreshed at 2nd hour.

Is this a bug from EOS OSS or EOS SDK?
Any workaround to ensure the GetAuthToken() can obtain an actual token correctly?

Thanks.

4 posts - 4 participants