RichardKnop / go-oauth2-server

A standalone, specification-compliant, OAuth2 server written in Golang.
Mozilla Public License 2.0
2.12k stars 315 forks source link

complement authorization code request #48

Open charlescui opened 6 years ago

charlescui commented 6 years ago

https://www.oauth.com/oauth2-servers/access-tokens/authorization-code-request check this part: client_id (required if no other client authentication is present)

now this server has only basicauth way, not support get client_id and secret from post body. make it support both for basicauth or post body form.