mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
Password-based authentication to the [Keycloak](https://www.keycloak.org/) API requires `grant_type` to be `password`. It would be very helpful if `golang.org/x/oauth2` could be used for this, and all's that missing is the ability to override `grant_type`. Fixes #283 Change-Id: I439dccb3e57042571ad92f115442ae1b7d59d4e0 GitHub-Last-Rev: 0e6f85e31efd7122721d75947178100eac62df0e GitHub-Pull-Request: golang/oauth2#363 Reviewed-on: https://go-review.googlesource.com/c/158517 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>