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 10 forks source link

Default to legacy server if available and no server provided #64

Closed DrDaveD closed 3 years ago

DrDaveD commented 3 years ago

This uses the default server "legacy" if it is configured and no "server" parameter is given.

impl commented 3 years ago

I think it would be worthwhile to support this for user-defined default servers too, as long as we're in this code. I'm going to open a PR that addresses this, so I'm going to close this one. Thank you, though! And sorry I've been a bit slow to respond lately!