Commit Graph
92 Commits
Author SHA1 Message Date
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 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
Eric Chiang d313e5d493 *: add example for running on kubernetes 2016-08-10 17:50:55 -07:00
Eric Chiang 73e2349270 Merge pull request #41 from coreos/add-dockerfile
*: add dockerfile
2016-08-09 15:29:19 -07:00
Eric Chiang 9a5b25b27f *: add dockerfile 2016-08-09 15:27:10 -07:00
Eric Chiang e58a3d24a4 Merge pull request #40 from coreos/inject-version-from-git-data
*: determine version from git
2016-08-09 14:39:33 -07:00
Eric Chiang e6f34e1051 *: determine version from git 2016-08-09 14:38:09 -07:00
Eric Chiang b8e80ffa3a *: add README 2016-08-09 12:40:01 -07:00
Eric Chiang 235ae9c3c4 server: update discovery to include offline_access scope 2016-08-08 19:10:32 -07:00
Eric Chiang 1396bdc15d Merge pull request #39 from coreos/example-app
port the example app
2016-08-08 16:33:17 -07:00
Eric Chiang 467d02738e *: add example-app 2016-08-08 16:32:42 -07:00
Eric Chiang 5ce32838d8 Merge pull request #37 from coreos/user-object-proposal
proposals:  user objects for revoking refresh tokens and merging accounts
2016-08-08 12:41:04 -07:00
Eric Chiang b31dedc2b6 Merge pull request #38 from coreos/oidc-connector
Add OpenID Connect connector
2016-08-08 11:52:11 -07:00
Eric Chiang b08780e6b1 *: revendor 2016-08-08 11:49:47 -07:00
Eric Chiang dd5c257c9e *: bump oidc client package to latest 2016-08-08 11:49:47 -07:00
Eric Chiang fd5e508f1c *: implement the OpenID Connect connector 2016-08-08 11:49:47 -07:00
Eric Chiang 5385ca517a proposals: user objects for revoking refresh tokens and merging accounts 2016-08-08 10:31:59 -07:00
Eric Chiang 95a61454b5 *: remove reference to deleted binary 2016-08-05 15:05:46 -07:00
Eric Chiang e2f43bd043 Merge pull request #35 from coreos/remove-api
Remove api and ctl
2016-08-05 10:03:09 -07:00
Eric Chiang c5bae2296c *: revendor 2016-08-05 10:02:18 -07:00
Eric Chiang 31082eed27 *: remove api and clt
It's not clear that the best way to manage clients is through a
gRPC based command line tool. For example we may explore an admin
dashboard and enable bootstrapping through static clients.

For now use static clients while we hold off on a more concrete
proposal.
2016-08-05 10:00:04 -07:00
Eric Chiang 3ca56e32ce Merge pull request #34 from coreos/static-clients
Add ability to load clients statically from config file
2016-08-05 09:55:06 -07:00
Eric Chiang ad6af58003 *: revendor 2016-08-05 09:54:03 -07:00
Eric Chiang df258306dc *: add github.com/kylelemons/godebug to dependencies 2016-08-05 09:54:03 -07:00
Eric Chiang 53d1be4a87 *: load static clients from config file 2016-08-05 09:54:03 -07:00
Eric Chiang 725a94214a storage: add storage with static clients 2016-08-05 09:49:38 -07:00
Eric Chiang 3110f45c3d *: lots of renaming 2016-08-02 21:57:36 -07:00
Eric Chiang f4c5722e42 *: connectors use a different identity object than storage 2016-08-02 21:20:18 -07:00
Eric Chiang e716c14718 storage: remove current registration process for new storages 2016-08-02 20:00:35 -07:00
Eric Chiang c7af2c4885 *: make makefile less verbose 2016-08-01 23:02:23 -07:00
Eric Chiang f8af792a52 Merge pull request #33 from coreos/kubernetes-garbage-collection
storage/kubernetes: garbage collect expired objects
2016-08-01 22:54:13 -07:00
Eric Chiang 820b460583 storage/kubernetes: garbage collect expired objects 2016-08-01 22:53:12 -07:00
Eric Chiang 45dafb035d Merge pull request #32 from coreos/grpc-api
Add gRPC service for interacting with storages
2016-07-31 23:27:53 -07:00
Eric Chiang 58d98dc52a api/apipb: generate gRPC service 2016-07-31 23:26:39 -07:00
Eric Chiang 933fc39e63 vendor: revendor for gRPC 2016-07-31 23:26:27 -07:00
Eric Chiang a28d22ff0c *: add gRPC to build system 2016-07-31 23:26:05 -07:00
Eric Chiang 94e26782b4 *: add gRPC server for interacting with storages 2016-07-31 23:25:06 -07:00
Eric Chiang cab271f304 initial commit 2016-07-26 15:51:24 -07:00