Commit Graph

614 Commits

Author SHA1 Message Date
Eric Chiang
fe196864c0 *: fix comment typos found with github.com/client9/misspell 2016-12-13 12:23:16 -08:00
rithu leena john
71a1d8d42f Merge pull request #723 from rithujohn191/support-leveled-logging
cmd/dex: add logging config and launch logger for server module.
2016-12-13 12:22:04 -08:00
Eric Chiang
18bbd94fba *: check go version before building
Add a script to check the Go version before building dex. This
gives a nice error message rather than just failing to compile.

With changes:

    $ go version
    go version go1.6.4 linux/amd64
    $ make
    ERROR: dex requires Go version 1.7+. Please update your Go installation: https://golang.org/dl/
    Makefile:93: recipe for target 'check-go-version' failed
    make: *** [check-go-version] Error 2

Checks only added for building the actual binary, not tests, since
this is aimed at users just starting off with the project.
2016-12-13 12:03:27 -08:00
rithu john
9949a1313c server: modify error messages to use logrus. 2016-12-13 11:52:44 -08:00
rithu john
6033c45976 vendor: revendor 2016-12-12 15:56:50 -08:00
rithu john
5c4cc9f5fe *: add logrus package. 2016-12-12 15:56:50 -08:00
rithu john
2e22a948cf cmd/dex: add logging config and serve logger for different modules. 2016-12-12 15:56:50 -08:00
Eric Chiang
79c51f2983 Merge pull request #737 from ericchiang/document-patch-releases
Documentation: add notes on patch release branches
2016-12-12 15:31:33 -08:00
Eric Chiang
c11ee4d290 Merge pull request #733 from ericchiang/ldap-email-verified
connector/ldap: default email_verified to true
2016-12-12 15:29:27 -08:00
Eric Chiang
566bb2d1af Documentation: add notes on patch release branches 2016-12-12 15:29:00 -08:00
Eric Chiang
c77cb86378 Merge pull request #736 from ericchiang/kubernetes-integration-readme
*: add section about dex and Kubernetes to README
2016-12-12 14:21:44 -08:00
Eric Chiang
faf6a0e680 *: add section about dex and Kubernetes to README 2016-12-12 11:23:39 -08:00
Eric Chiang
1e0cf3c068 connector/ldap: default email_verified to true 2016-12-09 13:22:19 -08:00
Eric Chiang
053856c62e Merge pull request #730 from ericchiang/ldap-examples
Documentation: add examples of mapping LDAP schema to a search
2016-12-09 10:24:16 -08:00
Eric Chiang
6dbe6e8ab5 Documentation: add examples of mapping LDAP schema to a search 2016-12-09 09:42:28 -08:00
Eric Chiang
eedae12b14 Merge pull request #731 from ericchiang/remove-unused-method
storage/kubernetes: remove unused method
2016-12-08 18:21:23 -08:00
Eric Chiang
879e018f74 storage/kubernetes: remove unused method 2016-12-08 16:42:18 -08:00
rithu leena john
9e6d8689c3 Merge pull request #728 from ericchiang/document-managing-dependencies
Document managing dependencies
2016-12-07 14:04:22 -08:00
Eric Chiang
89033c2e05 vendor: revendor using glide-vc 2016-12-07 13:23:19 -08:00
Eric Chiang
a500de802b glide.yaml: update inline comments 2016-12-07 13:23:19 -08:00
Eric Chiang
e2aa095680 Documentation: add document on managing dependencies 2016-12-07 13:23:19 -08:00
Eric Chiang
27a23a7418 Merge pull request #727 from ericchiang/add-travis-build-to-readme
*: add Travis build status to README
2016-12-07 11:03:38 -08:00
Eric Chiang
8e126607ce *: add Travis build status to README 2016-12-07 10:22:33 -08:00
rithu leena john
5c22e5b0df Merge pull request #720 from rithujohn191/bump-go
*: update travis to use Go 1.7.4.
2016-12-02 09:59:55 -08:00
rithu john
78cd0ceb41 *: update travis to use Go 1.7.4. 2016-12-01 20:28:21 -08:00
Amruta Chitnis
7516d120b3 Merge pull request #717 from amrutac/themes-plus-css-refactor
Themes plus css refactor
2016-12-01 15:11:12 -08:00
rithu leena john
936816af55 Merge pull request #715 from ericchiang/update-go-oidc
*: update vendored go-oidc
2016-12-01 14:28:51 -08:00
Amruta Chitnis
b7439d1a75 Address PR comments 2016-12-01 14:06:08 -08:00
Amruta Chitnis
577d1af029 web: Updates classes in templates 2016-12-01 13:41:56 -08:00
Amruta Chitnis
2bc690591e web: Updates css 2016-12-01 13:41:50 -08:00
Amruta Chitnis
ea75973547 web: Adds tectonic specific files 2016-12-01 13:41:45 -08:00
Amruta Chitnis
0dc7870f39 web: Adds svg files for icons 2016-12-01 13:41:33 -08:00
Eric Chiang
614fbdfb41 Merge pull request #716 from ericchiang/revert-refactor-css
revert "Merge pull request #714 from amrutac/refactor-css"
2016-12-01 13:21:51 -08:00
Eric Chiang
5e61d5fe83 Revert "Merge pull request #714 from amrutac/refactor-css"
This reverts commit 4d88eabb50, reversing
changes made to b38d355202.
2016-12-01 13:18:32 -08:00
Eric Chiang
7a3658acdf vendor: revendor 2016-12-01 13:16:14 -08:00
Eric Chiang
3b99e8f22a *: update vendored go-oidc
Includes fixes for a panic when using HTTP/2[0] and some HTTPs calls
not actually using their passed context[1].

[0] https://github.com/coreos/go-oidc/pull/117
[1] https://github.com/coreos/go-oidc/pull/119
2016-12-01 13:13:27 -08:00
Eric Chiang
4d88eabb50 Merge pull request #714 from amrutac/refactor-css
Refactor css
2016-12-01 13:11:19 -08:00
Amruta Chitnis
170727454d web: Updates classes in templates 2016-12-01 12:18:12 -08:00
Amruta Chitnis
fabdae8e71 web: Updates css 2016-12-01 12:17:48 -08:00
Amruta Chitnis
da872ecd35 web: Adds tectonic specific files 2016-12-01 12:16:18 -08:00
Amruta Chitnis
513525c0ab web: Adds svg files for icons 2016-12-01 12:15:47 -08:00
rithu leena john
b38d355202 Merge pull request #713 from ericchiang/example-app-state
cmd/example-app: use a non-empty state
2016-12-01 09:57:25 -08:00
Eric Chiang
aebb6818b7 cmd/example-app: use a non-empty state
Use a non-empty state in the example-app to ensure dex is properly
preserving the state for the code flow.

Updates #712
2016-12-01 09:05:56 -08:00
rithu leena john
9d9ad4a5b3 Merge pull request #711 from ericchiang/themes
*: add theme based frontend configuration
2016-11-30 22:56:09 -08:00
Eric Chiang
391dc51c13 *: add theme based frontend configuration
This PR reworks the web layout so static files can be provided and
a "themes" directory to allow a certain degree of control over logos,
styles, etc.

This PR does NOT add general support for frontend customization,
only enough to allow us to start exploring theming internally.
The dex binary also must now be run from the root directory since
templates are no longer "compiled into" the binary.

The docker image has been updated with frontend assets.
2016-11-30 17:20:21 -08:00
Eric Chiang
e267dbd236 Merge pull request #708 from ericchiang/ldap-security-docs
Documentation: clarify difference between LDAP ports and security guarentees
2016-11-28 17:07:24 -08:00
Eric Chiang
6202e4d912 Merge pull request #709 from evanluc/patch-1
Updated openid-connect.md: small typo
2016-11-24 23:13:31 -08:00
Ev
5144ef643b Updated openid-connect.md: small typo
Protocol is written protocl.
2016-11-24 14:01:47 -05:00
Eric Chiang
8b8c076ecf Documentation: clarify difference between LDAP ports and security guarantees
Now that LDAP supports an `insecureSkipVerify` option, clarify that
`insecureNoTLS` is an extremely bad choice and as such we may drop
support for 389 in the future.

However, since we send plain text passwords from our frontend to our
backend, this probably gets us into a bigger conversation about dex's
TLS story. For example when terminiation is approporate. cc'ing
@dghubble for thoughts on how that might apply to our internal uses.

We probably want an overaching security doc at some point, but that
can be another PR.
2016-11-23 12:26:44 -08:00
Eric Chiang
a607ff7a3a Merge pull request #696 from ericchiang/switch-go-oidc-client
*: switch oidc client to github.com/coreos/go-oidc
2016-11-22 13:42:28 -08:00