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 a header to the response to indicate the expiry time of the api key #202

Closed
bgreen1005 opened this issue Oct 18, 2019 · 1 comment
Closed

Comments

@bgreen1005
Copy link

The documentation says that the api key is valid for 60 minutes. Can we add a header to the response to indicate exactly when the api key will expire? I have a use case where I might have multiple clients calling the authorisation api to get a token. If client A gets a token and it's valid for 1 hour, then 15 minutes later the token is retrieved from client B, client B will assume that it's also valid for 1 hour. This would be much simpler if we had a timestamp header.

I'm happy to make the changes myself if that's easier. If I wanted to do so, would it be a case of forking from master or one of the other branches?

@bgreen1005
Copy link
Author

Realised that this is the repo for documentation, not for the api.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant