is there any way to convert or obtain an epic_bearer_token from a JWT access token?
I’m working on a small project where I’m trying to fetch my game library using a Python script. I can consistently generate access and refresh tokens for my account, but I haven’t found any documentation on how to use them to make an API call that returns my game library.
I found an endpoint that provides my transaction history, which I could use to reconstruct the library. However, this endpoint only accepts the Epic Games auth cookie, not the JWT access token.
So my question is:
Is there any way to exchange a JWT token for an Epic auth cookie, or is there an API endpoint that accepts the JWT access token to retrieve my library or transaction history?
Thank you for reaching out for support! I understand you’re looking to obtain an “epic_bearer_token” from a JWT Access Token for a project you’re working on, which would fetch your game library using a Python Script.
While I want to assist you with this project, the technical details fall outside our current scope of support. You can submit a private discussion case here, setting the topic to ‘Epic Account Services.’ However, I also know that this support team is designed to assist developers who intend to publish their games on the Epic Games Store, so this may fall outside of their scope of support as well.
Alternatively, you could reach out to Player Support, who may be able to point you in the right direction. Their scope of support has more overlap with your project.
I wish there were more assistance we could provide for this question, but I’m also failing to find any documentation that covers this scenario. I hope the above information is helpful in assisting you with your project. Please let us know if you have any additional questions!