Commit Graph

1089 Commits

Author SHA1 Message Date
Eric Chiang
ea4f3fd365 storage/sql: enable garbage collection
Was an oversite of the initial SQL PR.
2016-10-04 12:57:21 -07:00
Eric Chiang
3faae324e9 TODO.md: update API todos 2016-10-04 00:30:30 -07:00
Eric Chiang
0be8cc723a *: revendor 2016-10-04 00:30:30 -07:00
Eric Chiang
2cc197b8a4 glide.yaml: add gRPC dependencies 2016-10-04 00:30:30 -07:00
Eric Chiang
29864f0ccb example: add grpc example 2016-10-04 00:30:30 -07:00
Eric Chiang
4550b95dfd cmd/dex: add config options for gRPC 2016-10-04 00:30:30 -07:00
Eric Chiang
8b079168be server: add gRPC service implementation 2016-10-04 00:30:30 -07:00
Eric Chiang
a8262d0705 api: regenerate protobuf 2016-10-04 00:30:30 -07:00
Eric Chiang
ac4f94e848 *: add gRPC generation logic to build system 2016-10-04 00:30:30 -07:00
Eric Chiang
0ea891b2f1 api: add initial gRPC service definition 2016-10-04 00:30:30 -07:00
Eric Chiang
490b3494db storage: increase the number of bytes randomly generated for IDs
Because these values are used for OAuth2 codes, refresh tokens,
etc, they shouldn't be guessable. Increase the number of random
bytes from 64 to 128.
2016-10-03 17:38:32 -07:00
Eric Chiang
ea3a42938d Merge pull request #583 from ericchiang/dev-rename
cmd/dex: rename file
2016-10-03 12:59:32 -07:00
Eric Chiang
10e53c40f7 cmd/dex: rename file 2016-10-03 12:56:09 -07:00
Eric Chiang
e960f2d56b Merge pull request #577 from coreos/dev-sql
dev branch: add SQL storage implementation
2016-10-03 12:52:14 -07:00
Eric Chiang
3e8907b818 *: add sql storage options to dex application 2016-10-03 12:48:26 -07:00
Eric Chiang
877eb3dc7b *: add standup script to run DB tests locally and hook up travis 2016-10-03 12:48:26 -07:00
Eric Chiang
0f577a469a *: revendor 2016-10-03 12:48:25 -07:00
Eric Chiang
b4dab455f8 glide.yaml: add SQL drivers 2016-10-03 12:48:25 -07:00
Eric Chiang
36d67574c5 storage/conformance: add more conformance tests 2016-10-03 12:48:25 -07:00
Eric Chiang
63f56b4269 storage: hook up conformance tests for SQL 2016-10-03 12:48:25 -07:00
Eric Chiang
e2bf8ceb63 storage: rename "storagetest" package to "conformance" 2016-10-03 12:48:25 -07:00
Eric Chiang
87a7d093b2 storage/sql: add a SQL storage implementation
This change adds support for SQLite3, and Postgres.
2016-10-03 12:48:19 -07:00
Eric Chiang
82a55cf785 {server,storage}: add LoggedIn flag to AuthRequest and improve storage docs
Currently, whether or not a user has authenticated themselves through
a connector is indicated by a pointer being nil or non-nil. Instead
add an explicit flag that marks this.
2016-09-30 22:40:04 -07:00
Eric Chiang
1ad04d1921 Merge pull request #568 from ericchiang/dev-add-todo
dev branch: add TODO file
2016-09-19 10:19:04 -06:00
Eric Chiang
03ad99464f Merge pull request #572 from ericchiang/dev-cleanup-template-generation
dev-branch: generate string literals instead of escaped strings
2016-09-07 09:03:05 -07:00
Eric Chiang
04912c04e3 server: generate string literals instead of escaped strings
When compiling the default templates into the source code, use
string literals instead of escaped strings to reduce merge
conflicts.
2016-09-05 18:06:17 -07:00
Eric Chiang
058de90dde Merge pull request #567 from ericchiang/dev-html-templates
dev branch: port templates from master branch
2016-09-05 17:30:25 -07:00
Eric Chiang
608d8ba984 *: switch dex to the ported templates 2016-09-05 17:25:39 -07:00
Eric Chiang
027e3d366c server: generate default templates map 2016-09-05 17:25:12 -07:00
Eric Chiang
63a62b6754 *: add code to serialize templates into go code
Add a small program to iterate over the templates directory and
generate a go map of name to file data. This is so we can compile
these templates into the dex binary instead of requiring files on
disk.

Also add a Makefile rule to do this automatically.
2016-09-05 17:25:12 -07:00
Eric Chiang
91ff8a16cd web/templates: port templates from v1 2016-09-05 17:25:12 -07:00
Eric Chiang
68746fd795 *: add a mock connector which takes a username and password for testing
Since we don't have a good strategy which takes a username and password
add a mock connector which implementes PasswordConnector so we can
develop the frontend screens.
2016-09-05 17:25:12 -07:00
Eric Chiang
144fa41a23 Merge pull request #569 from ericchiang/dev-response-types-supported-discovery
dev branch: set response types supported in discovery based on server config
2016-08-29 11:56:42 -07:00
Eric Chiang
3b0e10740f *: add TODO
While the issue tracker is being used for the master branch, add a
TODO file to record work to do on this branch. Issues are currently
unprioritized and do not indicate requirements for any particular
milestone.
2016-08-25 16:48:24 -07:00
Eric Chiang
571024182d *: set response types supported in discovery based on server config 2016-08-25 16:18:09 -07:00
Eric Chiang
6564c15d9e Merge pull request #562 from ericchiang/dev-add-implicit-flow-support
dev branch: support the implicit flow
2016-08-25 09:38:07 -07:00
Eric Chiang
02dd18483d server: add integration test for the implicit flow 2016-08-24 11:21:39 -07:00
Eric Chiang
c113df961a *: support the implicit flow 2016-08-24 11:21:39 -07:00
Eric Chiang
dfa840d270 Merge pull request #566 from ericchiang/dev-clean-up-oauth2-values
dev branch: fix oauth2 values and remove unused code
2016-08-24 11:17:56 -07:00
Eric Chiang
c33ad3e0f3 server: fix oauth2 values and remove unused code 2016-08-24 11:14:38 -07:00
Eric Chiang
f219964f16 Merge pull request #561 from ericchiang/dev-run-server-tests-at-non-root-url
dev branch: run server tests at a non-root URL
2016-08-19 16:45:56 -07:00
Eric Chiang
4fe7260bb3 server: run server tests at a non-root URL
As we've seen on master it's very easy mistakenly make changes that
assume root URL paths. Run server integration tests at a non-root
issuer URL to prevent this.
2016-08-19 16:00:19 -07:00
Eric Chiang
f6e636723b Merge pull request #559 from ericchiang/dev-enable-travis
dev branch: enable travis testing
2016-08-18 15:42:19 -07:00
Eric Chiang
dbb16baa25 *: enable travis testing 2016-08-18 15:40:13 -07:00
Eric Chiang
1ee5920c54 *: fix instructions in README for downloading and running dex 2016-08-11 15:20:39 -07:00
Eric Chiang
6349baf044 *: fix testing with the race detector 2016-08-10 23:00:32 -07:00
Eric Chiang
8c36ede200 *: add a "getting started" page to the readme 2016-08-10 22:48:58 -07:00
Eric Chiang
bfe560ee21 rename 2016-08-10 22:31:42 -07:00
Eric Chiang
1cbb7700d8 *: add warning to README 2016-08-10 22:26:36 -07:00
Eric Chiang
e377d476ae Documentation: add incomplete intro to OpenID Connect 2016-08-10 22:25:15 -07:00