Lyric

Results 55 comments of Lyric

Network exception, use goproxy.cn as go proxy and try again.

Client_secret is a mandatory option of the protocol and cannot be omitted. Of course, this step can also be assembled on the server. The client only provides the username and...

范例的正确姿势(亲测可用): 1. 编译并运行`client`: ``` $ cd example/server $ go build server.go $ ./server ``` 2. 编译并运行`server`: ``` $ cd example/client $ go build client.go $ ./client ``` 3. 打开浏览器,访问地址[http://localhost:9094/](http://localhost:9094/) >...

Thank you for your suggestion, has added POST support, ``` func (s *Server) ValidationAuthorizeRequest(r *http.Request) (req *AuthorizeRequest, err error) { redirectURI := r.FormValue("redirect_uri") clientID := r.FormValue("client_id") if !(r.Method == "GET"...

Yes, this is a bug, I will fix it as soon as possible, thank you.

Yes, this problem does exist now, I will try to fix it.

不正常,这是个bug。在获取令牌的时候,没有做令牌本身的校验,已经修复!多谢!

I added an example of the use of password mode and client mode, you can check it out:[https://github.com/go-oauth2/oauth2/tree/master/example](https://github.com/go-oauth2/oauth2/tree/master/example)

Hello, I agree with your request and look forward to your PR. However, in accordance with your needs, you need to make changes to the token's storage interface and implementation.

You can implement the interface `ClientStore`