forked from ory/fosite
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* handler/oauth2: set expiration time before the access token is generated (ory#216) Signed-off-by: Nikita Vorobey <nikita@vorobey.by> * token/hmac: replace custom logic with copypasta * tests: replace nil checks with Error/NoError * scripts: add format helper scripts * all: format files with goimports * travis: use go-acc and test format * history: add 0.12.0 to TOC * travis: update to go 1.9 * travis: add goimports to install section * scripts: fix goimports import path * vendor: replace glide with dep * Add license header to all source files (ory#222) Closes ory#221 Signed-off-by: aeneasr <aeneas.rekkas@serlo.org> * travis: update go version (ory#220) * handler/oauth2: Client IDs in revokation requests must match now (ory#226) Closes ory#225 * Simplifies error contexts (ory#227) Simplifies how errors are instantiated. Errors now contain all necessary information without relying on `fosite.ErrorToRFC6749Error` any more. `fosite.ErrorToRFC6749Error` is now an internal method and was renamed to `fosite.errorToRFC6749Error`. * Exports ErrorToRFC6749Error again (ory#228) * Makes use of rfcerr in access error endpoint writer explicit * handler/oauth2: Improves authorization code error handling * handler/oauth2: Adds token revokation on authorize code reuse * internal: Updates mocks and mock generation * oauth2: Allows client credentials in POST body and solves public client auth Closes ory#231 Closes ory#217 * Improves error debug messages across the project * Resolves test issues and reverts auth code revokation patch * docs: Updates history.md * Improves test coverage report by removing internal package from it * Upgrades history.md * token/jwt: Adds ability to specify acr value natively in id token payload * Forces use of UTC time zone everywhere * Adds ability to catch non-conform OIDC authorizations Fosite is now capable of detecting authorization flows that are not conformant with the OpenID Connect spec. * Resolves overriding auth_time with wrong value * Improves http error codes * Returns the correct error on duplicate auth code use * handler/oauth2: Adds offline_access alias for refresh flow * Adds ability to forward hints and debug messages to clients (ory#242) * compose: Makes SendDebugMessages first class citizen (ory#243)
- Loading branch information
1 parent
d6cf027
commit 24497ad
Showing
158 changed files
with
3,919 additions
and
1,153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
|
||
# Gopkg.toml example | ||
# | ||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md | ||
# for detailed Gopkg.toml documentation. | ||
# | ||
# required = ["github.com/user/thing/cmd/thing"] | ||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project" | ||
# version = "1.0.0" | ||
# | ||
# [[constraint]] | ||
# name = "github.com/user/project2" | ||
# branch = "dev" | ||
# source = "github.com/myfork/project2" | ||
# | ||
# [[override]] | ||
# name = "github.com/x/y" | ||
# version = "2.4.0" | ||
|
||
|
||
[[constraint]] | ||
name = "github.com/asaskevich/govalidator" | ||
version = "7.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/dgrijalva/jwt-go" | ||
version = "3.1.0" | ||
|
||
[[constraint]] | ||
name = "github.com/golang/mock" | ||
version = "1.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/gorilla/mux" | ||
version = "1.5.0" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/gtank/cryptopasta" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "github.com/mohae/deepcopy" | ||
|
||
[[constraint]] | ||
name = "github.com/oleiade/reflections" | ||
version = "1.0.0" | ||
|
||
[[constraint]] | ||
name = "github.com/parnurzeal/gorequest" | ||
version = "0.2.15" | ||
|
||
[[constraint]] | ||
name = "github.com/pborman/uuid" | ||
version = "1.1.0" | ||
|
||
[[constraint]] | ||
name = "github.com/pkg/errors" | ||
version = "0.8.0" | ||
|
||
[[constraint]] | ||
name = "github.com/stretchr/testify" | ||
version = "1.1.4" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "golang.org/x/crypto" | ||
|
||
[[constraint]] | ||
branch = "master" | ||
name = "golang.org/x/oauth2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.