This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/server
Eric Chiang a3235d022a *: verify "state" field before passing request to callback connectors
Let the server handle the state token instead of the connector. As a
result it can throw out bad requests earlier. It can also use that
token to determine which connector was used to generate the request
allowing all connectors to share the same callback URL.

Callbacks now all look like:

    https://dex.example.com/callback

Instead of:

    https://dex.example.com/callback/(connector id)

Even when multiple connectors are being used.
2016-10-27 10:23:09 -07:00
..
api.go server: add gRPC service implementation 2016-10-04 00:30:30 -07:00
api_test.go server: add gRPC service implementation 2016-10-04 00:30:30 -07:00
doc.go initial commit 2016-07-26 15:51:24 -07:00
handlers.go *: verify "state" field before passing request to callback connectors 2016-10-27 10:23:09 -07:00
handlers_test.go *: fix linting 2016-10-13 18:15:20 -07:00
oauth2.go server: allow extra spaces in scopes 2016-10-12 15:37:12 -07:00
oauth2_test.go initial commit 2016-07-26 15:51:24 -07:00
rotation.go server: rename "rotationStrategy.period" to "rotationFrequency" 2016-10-17 10:57:14 -07:00
rotation_test.go initial commit 2016-07-26 15:51:24 -07:00
server.go *: verify "state" field before passing request to callback connectors 2016-10-27 10:23:09 -07:00
server_test.go *: fix linting 2016-10-13 18:15:20 -07:00
templates.go *: port oob template 2016-10-19 12:45:17 -07:00
templates_default.go *: port oob template 2016-10-19 12:45:17 -07:00
templates_default_gen.go server: generate string literals instead of escaped strings 2016-09-05 18:06:17 -07:00
templates_test.go *: switch dex to the ported templates 2016-09-05 17:25:39 -07:00