Eric Chiang
b7841fb9ed
Merge pull request #592 from ericchiang/fix-audience-scope
...
server: fix cross client scope prefix
2016-10-07 11:52:23 -07:00
Eric Chiang
6dbb5c4de6
server: fix cross client scope prefix
2016-10-07 11:40:41 -07:00
Eric Chiang
182f14fb30
Merge pull request #590 from ericchiang/dev-add-password-resource
...
dev branch: add a password resource for local email/password login
2016-10-06 10:41:24 -07:00
Eric Chiang
2909929b17
*: add the ability to define passwords statically
2016-10-06 10:35:54 -07:00
Eric Chiang
84143ac69f
Merge pull request #591 from ericchiang/dev-container-pipeline
...
dev branch: prepare build scripts for a release
2016-10-06 10:21:24 -07:00
Eric Chiang
0fc8879da1
*: prepare build scripts for a release
2016-10-05 23:43:44 -07:00
Eric Chiang
cdf0b91690
server: add an option to enable emails and passwords from the database
2016-10-05 17:26:41 -07:00
Eric Chiang
7ff3ce85a2
*: add password resource to kubernetes storage implementation
2016-10-05 17:26:41 -07:00
Eric Chiang
ae3b5ef6e9
storage/memory: add password resource
2016-10-05 17:26:41 -07:00
Eric Chiang
8012e56446
storage/sql: add password resource
2016-10-05 17:26:41 -07:00
Eric Chiang
138f55be06
storage/conformance: add tests for password resource
2016-10-05 17:26:41 -07:00
Eric Chiang
74b44e9757
storage: add a password resource
2016-10-05 16:51:50 -07:00
Eric Chiang
c50b44cf8f
Merge pull request #584 from ericchiang/dev-increase-entropy
...
storage: increase the number of bytes randomly generated for IDs
2016-10-05 14:14:49 -07:00
Eric Chiang
98b207b59a
Merge pull request #585 from ericchiang/dev-api
...
dev branch: add a simple gRPC API
2016-10-05 14:14:28 -07:00
Eric Chiang
aa83e7e5ec
Merge pull request #589 from ericchiang/dev-health-check-add-test
...
server: add a test for the health check handler
2016-10-05 08:05:05 -07:00
Eric Chiang
9243a092cf
server: add a test for the health check handler
2016-10-05 08:02:02 -07:00
Eric Chiang
e873a31b21
server: add health check endpoint
2016-10-04 17:20:17 -07:00
Eric Chiang
3681a57abd
Merge pull request #587 from ericchiang/dev-sql-enable-gc
...
storage/sql: enable garbage collection
2016-10-04 13:45:20 -07:00
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