puppetlabs / vault-plugin-secrets-oauthapp

OAuth 2.0 secrets plugin for HashiCorp Vault supporting a variety of grant types
Apache License 2.0
94 stars 11 forks source link

Add refresher tests #54

Closed impl closed 3 years ago

impl commented 3 years ago

This change also fixes a bunch of race conditions in the existing periodic refresh and device auth tests. It also improves the scheduled work by having it always run when the plugin starts or is reconfigured, so we're less likely to miss renewing access tokens.