Commit graph

512 commits

Author SHA1 Message Date
Bobby Rullo
2406c09598 workerschema: move Client.Revoke to RefreshClient
also, RevokeClient -> RevokeClient for consistency.
2016-06-07 17:16:11 -07:00
Bobby Rullo
e1c070d84e admin: add trustedPeers bootstrap api 2016-06-07 17:16:11 -07:00
Bobby Rullo
5e9dd9f4b0 adminschema: add trustedPeers to client creation 2016-06-07 17:16:11 -07:00
Bobby Rullo
f9dbc8a3d2 db, client: add data model for trusted peers
Trusted Peers are clients that are authorized to mint tokens
for another client.
2016-06-07 17:16:09 -07:00
bobbyrullo
546463adcc Merge pull request #457 from bobbyrullo/client_manager_tweaks
Various client api tweaks
2016-06-07 17:01:28 -07:00
Bobby Rullo
182e8af420 test: alphabetize tests 2016-06-07 16:47:30 -07:00
Bobby Rullo
1b4dca80d7 client: remove ClientManagerFromClients
Replaced by ClientRepoFromClients, which makes more sense IMO. Also, it
was doing the wrong thing: it was ignoring the client_id and client_secret
passed into it as far as I can tell.
2016-06-07 16:47:30 -07:00
Bobby Rullo
a33d61c8e2 server: remove boilerplate setup code part deux
Use the test fixture setup stuff in testutil instead.
2016-06-07 16:47:30 -07:00
Bobby Rullo
ad1d5ab253 server: remove boilerplate setup code
Use the test fixture setup stuff in testutil instead.
2016-06-07 16:47:29 -07:00
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
Eric Chiang
9c260c7698 Merge pull request #455 from ericchiang/update-go-versions-for-travis
*: Update Go versions used for Travis tests and test tip
2016-06-06 10:29:20 -07:00
Eric Chiang
ca0655cbba Merge pull request #453 from kismatic/tls-example-app
Added TLS support to the example application
2016-06-05 09:54:37 -07:00
abrand
51659716e0 Improved error message when TLS config is specified, but listen/redirect URL are using wrong scheme 2016-06-03 20:04:13 -04:00
Eric Chiang
2362154d99 *: allow builds with development versions of Go 2016-06-03 11:19:19 -07:00
Eric Chiang
1ffb243e9a *: Update Go versions used for Travis tests and test tip 2016-06-03 10:56:03 -07:00
Eric Chiang
2d5fb0b47a Merge pull request #316 from fnordahl/issue/309-implement-connection-pooling
connector_ldap: Implement connection pooling for LDAP connections
2016-06-03 08:30:12 -07:00
abrand
6f98dfeb96 Added TLS support to the example application 2016-06-03 07:51:00 -04:00
Frode Nordahl
3077979a3b Functional tests for LDAP Connection Pool 2016-06-03 11:04:58 +02:00
Frode Nordahl
e531dd6be5 Implement connection pooling for LDAP connections
Fixes #309
2016-06-03 11:04:58 +02:00
Frode Nordahl
f976fa1d3b vendor: Add golang.org/x/net/context 2016-06-03 11:00:29 +02: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