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

Make expiryDelta in token.go configurable #481

Open
cgostuff opened this issue Mar 4, 2021 · 0 comments
Open

Make expiryDelta in token.go configurable #481

cgostuff opened this issue Mar 4, 2021 · 0 comments

Comments

@cgostuff
Copy link

cgostuff commented Mar 4, 2021

For my application, I need an expiry delta higher than 10 seconds, which the value is currently hardcoded to in token.go. In order to use the builtin TokenSource or Client types, I have to manually hardcode the expiryDelta to a higher value. Having this configurable would provide a much cleaner way for me to use this library, and I think the same goes for some others (as can be seen in this PR #359, and in this issue #249).

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