Commit Graph
100 Commits
Author SHA1 Message Date
Eric Chiang 16d5e02cbb Merge pull request #675 from ericchiang/readme-tweeks
README: add link on v2 and section on getting help
2016-11-08 15:30:00 -08:00
Eric Chiang 674bec0468 Merge pull request #674 from ericchiang/readme-docs-v2
*: readme updates for v2
2016-11-08 15:20:51 -08:00
Eric Chiang 96fb0733fe Merge pull request #669 from ericchiang/config-env
cmd/dex: only expand from env for storages and connectors
2016-11-05 17:56:11 -07:00
Eric Chiang 5302fefdfb Merge pull request #671 from ericchiang/fix-server-time-bug
server: use seconds instead of nano seconds for expires_in and expiry
2016-11-05 07:56:06 -07:00
Eric Chiang 7f24ebb051 Merge pull request #664 from ericchiang/dev-docs-v2
Documentation: add doc describing v2 changes
2016-11-05 07:55:16 -07:00
Eric Chiang d86a774a29 Merge pull request #670 from ericchiang/example-app-debug
cmd/example-app: add a --debug flag
2016-11-04 14:29:39 -07:00
Eric Chiang ce703a7fe1 Merge pull request #665 from rithujohn191/expose-serv-opts
cmd/dex: expose IDTokensValidFor and RotateKeysAfter server options in config
2016-11-03 18:25:44 -07:00
Eric Chiang d11224f2bb Merge pull request #668 from ericchiang/dev-ldap-conn
connector: accept base64 encoded CA and add convience open method
2016-11-03 16:39:22 -07:00
Eric Chiang 53852d4e42 Merge pull request #667 from ericchiang/dev-switch-yaml-package
*: switch to github.com/ghodss/yaml for more consistent YAML parsing
2016-11-03 15:29:18 -07:00
Eric Chiang a78adb0272 Merge pull request #666 from rithujohn191/update-go-version
*: travis tests and build scripts should use Go 1.7.3.
2016-11-03 12:37:54 -07:00
Eric Chiang 74eaec60cb Merge pull request #661 from rithujohn191/gRPC-client-auth
cmd/dex: add option for gRPC client auth CA.
2016-11-02 15:05:15 -07:00
Eric Chiang 799b3f3ef5 Merge pull request #658 from ericchiang/dev-dont-error-on-invalid-username
*: don't error out if a username doesn't exist in the backing connector
2016-11-01 16:06:40 -07:00
Eric Chiang 90e613b328 Merge pull request #649 from rithujohn191/gRPC-endpoints
api: add gRPC endpoints for creating, updating and deleting passwords
2016-11-01 14:20:31 -07:00
Eric Chiang 2a9051c864 Merge pull request #654 from ericchiang/dev-sql-optimistic-concurrency
storage/sql: use isolation level "serializable" for transactions
2016-11-01 10:16:23 -07:00
Eric Chiang 1c51c50b23 Merge pull request #652 from ericchiang/dev-docs-api
Documentation: add document on the dex API
2016-10-31 18:16:08 -07:00
Eric Chiang 651b406cfd Merge pull request #651 from ericchiang/dev-remove-openldap-container
contrib/openldap: remove OpenLDAP container
2016-10-31 15:19:05 -07:00
Eric Chiang a7c2fca039 Merge pull request #645 from ericchiang/dev-ldap-fix-switch
connector/ldap: fix bug in switch statement
2016-10-28 11:19:40 -07:00
Eric Chiang d7912a3a97 Merge pull request #638 from ericchiang/dev-share-a-single-callback
*: allow call connectors to share a single a single callback
2016-10-27 16:59:04 -07:00
Eric Chiang 44fec87ce1 Merge pull request #642 from ericchiang/k8s-client-id
storage/kubernetes: allow arbitrary client IDs
2016-10-27 16:58:57 -07:00
Eric Chiang 99717cb56d Merge pull request #635 from ericchiang/dev-transaction-tests
storage/conformance: add tests for transactional guarantees
2016-10-27 15:54:53 -07:00
Eric Chiang acf3d6385e Merge pull request #641 from ericchiang/dev-scripts-fix-get-protoc
scripts: fix get-protoc script to work directly after a clean
2016-10-27 14:42:40 -07:00
Eric Chiang c1f18802c9 Merge pull request #624 from ericchiang/dev-ldap-connector
connector/ldap: expand LDAP connector to include searches
2016-10-27 13:44:18 -07:00
Eric Chiang f5a378a4e5 Merge pull request #640 from rithujohn191/openldap-docs
Documentation: adding documentation for running ldap tests locally
2016-10-27 13:22:37 -07:00
Eric Chiang 88896eb949 Merge pull request #637 from squat/fix_cache_control
server/handlers: fix Cache-Control header
2016-10-26 15:07:18 -07:00
Eric Chiang 99e312eadd Merge pull request #632 from ericchiang/dev-docs-storage-options
Documentation: add a document on storage options
2016-10-26 12:33:37 -07:00
Eric Chiang d350938fb0 Merge pull request #626 from ericchiang/storage-kubernetes-guess-namespace-from-service-account-token
storage/kubernetes: guess namespace from the service account token
2016-10-25 16:54:58 -07:00
Eric Chiang ff9816464e Merge pull request #627 from ericchiang/dev-expand-envs-in-config
*: expand environment variables in config
2016-10-25 15:02:54 -07:00
Eric Chiang 101a2bc22a Merge pull request #634 from rithujohn191/kubeconfig_context
storage/kubernetes: set CurrentContext when the Kubeconfig file contains only one context
2016-10-25 14:57:57 -07:00
Eric Chiang e0b83af981 Merge pull request #629 from ericchiang/dev-storage-kubernetes-dont-print-error
storage/kubernetes: don't automatically print errors on bad HTTP status codes
2016-10-25 14:16:32 -07:00
Eric Chiang 6c4ad8c04d Merge pull request #630 from ericchiang/dev-storage-kubernetes-kubeconfig-guessing
storage/kubernetes: don't guess the kubeconfig location and change test env
2016-10-24 16:14:54 -07:00
Eric Chiang ba9f6c6cd6 Merge pull request #618 from ericchiang/dev-contrib-ldap-container
contrib/openldap: add an OpenLDAP Docker image for testing
2016-10-20 13:14:17 -07:00
Eric Chiang ea52bf263b Merge pull request #623 from ericchiang/dev-port-oob-template
*: port oob template
2016-10-19 13:53:02 -07:00
Eric Chiang 86b2d93966 Merge pull request #594 from ericchiang/dev-proposal-upstream-refreshing
Documentation/proposals: add a proposal for keeping data in-sync during refreshes
2016-10-17 11:58:20 -07:00
Eric Chiang 688d798ff4 Merge pull request #620 from ericchiang/dev-fix-rotation-polling
server: fix key rotation polling
2016-10-17 11:13:00 -07:00
Eric Chiang 3e94e65b68 Merge pull request #617 from ericchiang/dev-aci-path
*: build aci at the correct path including version, OS, and arch
2016-10-14 14:40:14 -07:00
Eric Chiang 8b909140fd Merge pull request #615 from ericchiang/dev-fix-sql-keys-query
dev branch: fix sql keys query
2016-10-14 12:30:59 -07:00
Eric Chiang ade27b3d5e Merge pull request #612 from ericchiang/dev-make-example-config-more-readable
*: add more comments to the example config
2016-10-14 09:01:53 -07:00
Eric Chiang 6a9df8ab1c Merge pull request #606 from ericchiang/dev-self-managed-third-party-resources
dev branch: self managed third party resources
2016-10-14 09:00:05 -07:00
Eric Chiang dc13f09fb7 *: add more comments to the example config 2016-10-14 08:58:57 -07:00
Eric Chiang e25a364dbe Merge pull request #611 from ericchiang/dev-gc-reduce-verbosity
server: only print gc stats if something has been removed
2016-10-13 22:01:16 -07:00
Eric Chiang 89ecfd2ede server: only print gc stats if something has been removed 2016-10-13 21:55:56 -07:00
Eric Chiang 7288e49c19 Merge pull request #610 from ericchiang/dev-fix-linting
dev branch: fix linting
2016-10-13 18:19:13 -07:00
Eric Chiang 96440e4cc5 *: fix linting 2016-10-13 18:15:20 -07:00
Eric Chiang e7d7c3500a Merge pull request #608 from ericchiang/dev-properly-compile-version
dev branch: properly compile version into docker images
2016-10-13 18:03:56 -07:00
Eric Chiang 3dac0063df *: properly compile version into docker images 2016-10-13 17:58:40 -07:00
Eric Chiang b7c6eea341 examples/k8s: update documentation 2016-10-13 17:41:52 -07:00
Eric Chiang 691476b477 storage/kubernetes: manage third party resources and drop support for 1.3 2016-10-13 17:41:52 -07:00
Eric Chiang f37836490b Merge pull request #603 from ericchiang/dev-add-license-and-developer-certificate-of-origin
dev branch: add DCO and LICENSE
2016-10-13 11:59:14 -07:00
Eric Chiang 5bec61d73f Merge pull request #602 from ericchiang/dev-add-garbage-collect-method-to-storage
dev branch: add garbage collect method to storage
2016-10-12 22:08:53 -07:00
Eric Chiang 13554ee735 Merge pull request #601 from ericchiang/dev-allow-extra-space-in-scopes
server: allow extra spaces in scopes
2016-10-12 15:39:22 -07:00
Eric Chiang cf8801dcec Merge pull request #596 from ericchiang/dev-refreshing-with-scopes-tests
dev branch: add tests for refreshing with explicit scopes
2016-10-10 15:02:40 -07:00
Eric Chiang 0f758f11cc Merge pull request #595 from ericchiang/dev-example-app-fix-refreshing-with-google
dev branch: check if a provider supports a refresh token scope
2016-10-10 08:54:27 -07:00
Eric Chiang 8518c30123 Merge pull request #593 from ericchiang/dev-expose-skip-approval
dev branch: expose skip approval screen option
2016-10-07 11:56:09 -07:00
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 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 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 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 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 ea3a42938d Merge pull request #583 from ericchiang/dev-rename
cmd/dex: rename file
2016-10-03 12:59:32 -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 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
Eric Chiang 35f467a353 example -> examples 2016-08-10 21:32:21 -07:00
Eric Chiang b02211b118 example/k8s: add instructions for running dex as the kubernetes authenticator 2016-08-10 21:31:40 -07:00
Eric Chiang 4cbe9bbc82 server: cache signing keys 2016-08-10 20:51:58 -07:00