Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retry handling for Unauthorized responses when API Token is nearing expiration. #157

Open
fuzzzerd opened this issue Feb 10, 2021 · 2 comments
Labels
data-api Pertaining to the Data API. enhancement New feature or request

Comments

@fuzzzerd
Copy link
Owner

Is your feature request related to a problem? Please describe.

When the FileMaker API Token expires, requests return unauthorized.

Describe the solution you'd like

The FMData handlers should re-try the action after refreshing the token.

@fuzzzerd fuzzzerd added data-api Pertaining to the Data API. enhancement New feature or request labels Feb 10, 2021
@fuzzzerd fuzzzerd added this to the Backlog milestone Feb 10, 2021
@Zero14HSC
Copy link

I have a problem that's related to this i think, my web service gives an anauthorized error when I restart the filemaker server.
To get things working again I must restart the web service also.

@fuzzzerd
Copy link
Owner Author

That would make sense if FileMaker Server doesn't persist tokens, and this would indeed solve that issue. I have a few other projects going on at the moment, so I don't know if I'll get to this issue immediately (you can see it's been here for a minute), so if you wanted to submit a PR addressing this issue I'd be glad to work with you to get it integrated!

@fuzzzerd fuzzzerd modified the milestones: Backlog, v5.1.0 Jun 5, 2023
@fuzzzerd fuzzzerd self-assigned this Jun 5, 2023
@fuzzzerd fuzzzerd removed this from the v5.1.0 milestone Jun 12, 2023
@fuzzzerd fuzzzerd removed their assignment Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-api Pertaining to the Data API. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants