Hi Nathan,
We've shied away from OAuth2 in the past for a few reasons. One of
them is that right now there isn't a way in Vault to handle a non-JSON
request, and the output from most OAuth2 services when they round-trip
(I've worked with FB, Google, Twitter, and a couple of others) is raw
urlencoded form data. So that's an immediate, although probably
solvable, blocker.
The workflow is also not entirely clear. The user makes a call to
Vault and gets a URL. The user then authorizes Vault via Google, and
this gives Vault a Google API token that it can use to act on behalf
of the user. At this point the user is redirected by Google to
<something>, which depending on the chosen workflow flow might be a
port on localhost, but in most cases would need to use some non
localhost address. What happens next? Vault returns a normal secret
JSON response in the user's web browser? How do we map the user to
policies?
A separate concern is that we have some plans to consolidate some of
the backends, and I think if we were comfortable merging this kind of
provider, we'd want to have it designed in a way that makes it easy to
add support for other providers by implementing interfaces rather than
separate backends.
Best,
Jeff
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
>
https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues:
https://github.com/hashicorp/vault/issues
> IRC: #vault-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vault" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
vault-tool+...@googlegroups.com.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/vault-tool/e8eaaceb-dc51-4890-96b6-feed63e6a59e%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.