Commit graph

443 commits

Author SHA1 Message Date
Bobby Rullo
8d1a6f2324 functional: test sample clients file is valid
Also tests that it's being loaded properly (which is not the case in
NewClientManagerFromClients, which will be removed in subsequent commit)
2016-06-07 16:47:29 -07:00
Bobby Rullo
86ef34d8e2 client: generateClientCreds -> addClientCreds
a little easier to read this way IMO.
2016-06-02 18:39:58 -07:00
Eric Chiang
4440b3a085 Merge pull request #449 from ericchiang/add-connectors-to-api
Set and list connectors from admin API
2016-06-01 10:51:30 -07:00
Eric Chiang
35ea3d9ae1 *: add ability to set and list connectors from admin API
closes #360
2016-06-01 09:31:47 -07:00
Eric Chiang
adbf486246 schema/adminschema: add route for setting and listing connectors 2016-06-01 09:31:47 -07:00
bobbyrullo
65461a1c58 Creating releases... (#435)
* Create releases.md

* (SQUASH) make note about keys
2016-05-27 10:58:09 -04:00
bobbyrullo
04fa835405 Merge pull request #353 from fnordahl/issue/156
vendor: update go-oidc to latest
2016-05-27 10:56:54 -04:00
Bobby Rullo
bbaea52ea6 alternate approach to fixing tests 2016-05-27 00:22:27 +02:00
Frode Nordahl
58f1bb4556 vendor: update go-oidc 2016-05-27 00:22:27 +02:00
Eric Chiang
2003df83cf schema: standardize JSON formatting 2016-05-26 13:13:20 -07:00
Eric Chiang
f39191a92d schema: add small tool to standardize JSON formatting 2016-05-26 10:41:16 -07:00
Evan Cordell
a846016ceb Merge pull request #442 from ecordell/client-manager
Adds client manager
2016-05-24 16:06:48 -05:00
Evan Cordell
73d9742c8b client manager: accept full client when creating 2016-05-24 14:44:04 -05:00
bobbyrullo
b0f17c9429 Merge pull request #446 from xaka/patch-2
examples: add sample for clients
2016-05-24 11:03:48 -04:00
Evan Cordell
a418e1c4e7 client: add client manager
adds a client manager to handle business logic, leaving the repo
for basic crud operations. Also adds client to the test script
2016-05-19 16:20:12 -07:00
Evan Cordell
3da98fcb8e client: add transaction support 2016-05-19 16:17:01 -07:00
Pavel Strashkin
dec5d90657 examples: add sample for clients
Adds consistency to existing samples for users, connectors, etc., as
well as protects users from accidental changes to files under Git, which
is why there are samples after all.
2016-05-18 18:18:20 -07:00
Ed Rooth
02bf115026 Merge pull request #445 from xaka/patch-1
Documentation: use "cp" instead of "mv" to keep git state untouched
2016-05-18 18:04:55 -07:00
Pavel Strashkin
a886eef2a6 Documentation: use "cp" instead of "mv" to keep git state untouched 2016-05-18 11:45:02 -07:00
bobbyrullo
e640be85c6 Merge pull request #444 from bobbyrullo/fix_375
Revert "Fix response_type missing param"
2016-05-17 14:25:13 -07:00
Bobby Rullo
847849931f Revert "Fix response_type missing param"
This reverts commit 821b242c83.
2016-05-17 13:49:14 -07:00
Ed Rooth
b29deb736b Merge pull request #437 from chris-rock/patch-1
add links to issues in roadmap
2016-05-10 16:09:45 +02:00
Eric Chiang
429fc0803b Merge pull request #440 from ericchiang/fix_build_script
*: fix build script to work outside of GOPATH
2016-05-06 13:51:09 -07:00
Eric Chiang
16c189b7b2 *: fix build script to work outside of GOPATH
Closes #439
2016-05-06 13:31:09 -07:00
bobbyrullo
594c54553f Merge pull request #438 from bobbyrullo/nicer_example
examples/app: Show refresh token as well
2016-05-06 13:14:50 -07:00
bobbyrullo
e64043dd97 Create a proposal template. (#423)
* Create a proposal template.

Also update CONTRIBUTING.md to mention use of proposals
2016-05-06 12:00:57 -07:00
Bobby Rullo
e2c428fc5a examples/app: Show refresh token as well 2016-05-06 11:44:54 -07:00
Christoph Hartmann
09a3880e3e documentation: add links to issues in roadmap
This allows users to easily browse through the tickets mentioned in dex roadmap

Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
2016-05-06 11:12:11 +02:00
Eric Chiang
ea4c04fde8 Merge pull request #433 from chris-rock/chris-rock/go-1.6.2
use go 1.6.2 for docker go build
2016-05-04 14:59:28 -07:00
Christoph Hartmann
58b908ff9a remove dockerfile-builder 2016-05-04 20:20:14 +02:00
Christoph Hartmann
3d9e51f065 use go 1.6.2 for docker go build 2016-05-04 20:19:52 +02:00
Eric Chiang
71e2ae9899 Merge pull request #434 from chris-rock/chris-rock/build-script
allow local image building without pushing
2016-05-04 08:23:12 -07:00
Christoph Hartmann
fd573a3b8f allow local image building without pushing 2016-05-04 14:17:03 +02:00
Eric Chiang
ba5021a889 Merge pull request #430 from ericchiang/update_go-oidc
vendor: update go-oidc to fix parsing panic
2016-04-25 17:16:09 -07:00
Eric Chiang
03e2bf68d6 vendor: update go-oidc to fix parsing panic 2016-04-25 17:06:32 -07:00
bobbyrullo
9ad904e0ca Merge pull request #425 from andrewstuart/bugfix/git-version
fix/git-version: Update git-version to use valid docker tag if dirty
2016-04-25 14:02:57 -07:00
bobbyrullo
4c4f4c03b3 Merge pull request #424 from andrewstuart/feat/further-kube-updates
contrib/k8s: YAML brevity via references, minimum resource requests
2016-04-25 10:51:27 -07:00
Andrew Stuart
fa7a920de9
fix/git-version: Update git-version to use valid docker tag if "dirty" 2016-04-21 17:00:26 -07:00
Andrew Stuart
c459e09098
contrib/k8s: YAML brevity via references, add min. resource requests
- Add resources for deployments
- Add readiness probe for master
- Use YAML references for easier maintenance/readability
2016-04-21 15:50:26 -07:00
Eric Chiang
40635754ea Merge pull request #422 from gmgreg/gmgreg-patch-2
K8S dex-overlord.yaml ordering fix
2016-04-20 14:57:57 -07:00
mgreg
af556fc2aa reordered dex-overlord.yaml 2016-04-20 14:39:18 -07:00
bobbyrullo
69ca9dba2e Merge pull request #411 from bobbyrullo/cross_client
Use Client defined in dex instead of go-oidc for storing clients
2016-04-20 14:38:18 -07:00
Bobby Rullo
9c403aba41 fix dexctl 2016-04-20 14:31:28 -07:00
Bobby Rullo
399b15abeb integration, *: Improve tests for admin api
* TestCreateClient was missing test coverage on error cases
* Fixed bug where 500s were being reported for bad requests
* changed function signature of NewAdminAPI back to old way of passing
  in lots of repos: passing in a DbMap made it difficult to test
* added swappable ID and Secret generators when creating Clients
2016-04-20 14:31:27 -07:00
Bobby Rullo
3442a5af1c functional: test Admin field serialization 2016-04-20 14:31:27 -07:00
Bobby Rullo
e7141336bc db: Client() should not return the secret
It's never used by downstream code, and besides, it's not really the
secret but a Hash of the secret.
2016-04-20 14:31:27 -07:00
Bobby Rullo
158bfa5ed7 client: Add tests for ClientsFromReader
Also require client ID and secret.
2016-04-20 14:31:27 -07:00
Bobby Rullo
e5948ab3ce *: ClientIdentityXXX -> ClientXXX
Get rid of all outdated "ClientIdentity" terminology.
2016-04-20 14:31:27 -07:00
Bobby Rullo
95757e8779 *: Client Repo now deals with custom Client object
This is instead of oidc.ClientIdentity. This makes it easier to add new
fields custom to dex to the client.
2016-04-20 14:31:27 -07:00
Eric Chiang
0a7ab7b47d Merge pull request #421 from gmgreg/gmgreg-patch-1
Update examples/README.md
2016-04-20 13:24:15 -07:00