oauth2 icon indicating copy to clipboard operation
oauth2 copied to clipboard

[not maintained] Allows your Martini application to support user login via an OAuth 2.0 backend.

Results 11 oauth2 issues
Sort by recently updated
recently updated
newest added

Is it possible to delete the repo since we don't maintain it and don't recommend anyone to use Martini? I contributed two plugins to dogfood the framework but they keep...

https://github.com/golang/oauth2/commit/a568078818bb97b96ee7c7829b4575b81d4684f1 `oauth2.Options` is changed to `oauth2.Config` and `oauth2.Option` seems deprecated.

I cannot install the package, see: ``` Project hg: ⎇ default r > go get github.com/martini-contrib/sessions Project hg: ⎇ default r > go get github.com/martini-contrib/oauth2 package github.com/martini-contrib/oauth2 imports github.com/golang/oauth2 imports...

``` > go get github.com/martini-contrib/oauth2 # github.com/martini-contrib/oauth2 src/github.com/martini-contrib/oauth2/oauth2.go:51: undefined: oauth2.Options > go run server.go # github.com/martini-contrib/oauth2 src/github.com/martini-contrib/oauth2/oauth2.go:51: undefined: oauth2.Options > go version go version go1.3.3 linux/amd64 ```

Hi, looks like oatuh2.Flow(https://github.com/martini-contrib/oauth2/blob/master/oauth2.go#L169) no longer exists in `golang/oauth2` ?

It was removed in 3eced323e6a648c9f968f497c4711719984477ef due to the fact that the interface of Token.Extra of golang/oauth2 was changed. This commit un-removes ExtraData with different interface than the previous one due...

if I use the url including get query, I can't return the original url

This might be useful for applications that rely on OAuth2 Login that need to save the token to a DB or related.

the oauth2 "state" field, the first argument of AuthCodeURL, is supposed to be a CSRF token - a completely unguessable random string of bytes. further, on the callback, the oauth2...

This is more of question/suggestion than a ticket. Since the oauth func writes to the response on failure, it seems impossible to use multiple oauth/auth for a martini app since...