Eric Chiang
cec3cd4451
Merge pull request #206 from ericchiang/connector_config_db_fix
...
db: fixed missing return statement GetConnectorByID
2015-12-07 21:03:34 -08:00
Eric Chiang
5295344f9e
db: fixed missing return statement GetConnectorByID
...
Added missing err return introduced by #199
2015-12-07 20:58:36 -08:00
bobbyrullo
521aeae3db
Merge pull request #199 from ericchiang/validate_connector
...
api: validate local connector existence before creating user
2015-12-07 17:44:22 -08:00
Eric Chiang
f43655a8c3
user/manager: connector must exists when creating remote identity
...
Add ConnectorConfigRepo to UserManager. When trying to create a
RemoteIdentity, validate that the connector ID exists.
Fixes #198
2015-12-07 17:34:08 -08:00
bobbyrullo
6d460fa224
Merge pull request #204 from coreos/update-dev-documentation
...
Tweak dev guide & update example README
2015-12-07 15:43:41 -08:00
bobbyrullo
8cec2d6ba9
Merge pull request #205 from coreos/example-email
...
*: use example.com in place of coreos.com
2015-12-07 15:42:06 -08:00
Eric Chiang
d518447282
user: move user manager to it's own package
...
This commit moves the user.Manage to its own package (user/manager)
so it can import the connector package in a later commit.
For clarity, it renames "Manager" to "UserManager" using gorname.
This commit has no functional changes.
2015-12-07 15:34:14 -08:00
Brian Waldon
27a217fbf6
Merge pull request #192 from ericchiang/godoc
...
readme: added godoc link to readme
2015-12-07 14:57:37 -08:00
Brian Waldon
b14ce73fa0
*: use example.com in place of coreos.com
...
Align with RFC2606 for example email addresses, using example.com
in place of coreos.com where appropriate.
2015-12-07 14:55:29 -08:00
Mike Kobit
31b8e95878
Documentation: update dev-guide.md and examples/README.md
...
- Be more explicit with exact instructions to startup
- Change some of the commands that were using local directory with "./" when
the executable was in a lower directory. These
commands (like "./bin/dex-worker") did not work on ZSH or Bash, so I
removed the leading "./"
- Add some syntax highlighting markdown to code sections
2015-12-07 14:48:48 -08:00
Eric Chiang
74f8473407
Merge pull request #195 from ericchiang/db_doc
...
documentation: clarify db permissions in getting started doc
2015-12-02 13:21:12 -08:00
Eric Chiang
cc36362f1b
documentation: clarify db permissions in getting started doc
...
In the 'getting started' doc create a user and database for dex to
clarify that the user needs permissions to create databases, but
dex does not.
closes #127
2015-12-02 13:20:20 -08:00
Eric Chiang
1c0e59a5b4
Merge pull request #193 from ericchiang/base64
...
*: trim newlines from base64 command for Linux compatibility
2015-12-02 09:33:08 -08:00
Eric Chiang
1c0a0cd45d
*: trim newlines from base64 command for Linux compatibility
...
base64 wraps lines on Linux after 76 characters. Use tr to trim
the newlines in a portable way.
2015-12-02 09:29:24 -08:00
Eric Chiang
8852e53cbe
readme: added godoc link to readme
...
closes #114
2015-12-02 08:39:01 -08:00
bobbyrullo
59a821ed28
Merge pull request #188 from ericchiang/trim_emails
...
registration: trim spaces and sanity check user email from form
2015-12-01 15:07:47 -05:00
bobbyrullo
a1b7f9e709
Merge pull request #190 from ericchiang/valid_email
...
user: fix bug in ValidEmail helper
2015-12-01 15:06:42 -05:00
Eric Chiang
8be9396811
registration: trim spaces and sanity check user email from form
...
When a user attempts to register an email, trim prefixed and
trailing spaces, then perform a basic sanity check to ensure it's
of form "test@example.com".
Fixes #163
2015-12-01 10:20:00 -08:00
Brandon Philips
b30cb7d206
README: add OAuth 2.0 keyword for Google
...
We aren't coming up if you google OAuth 2 on Google. Fix this.
2015-12-01 13:04:15 -05:00
Eric Chiang
137330b202
user: fix bug in ValidEmail helper
...
mail.ParseAddress will stop parsing a string once it finds a valid
email address. This means you could give ValidUser an email
address followed by junk and it would mark it valid.
This commit fixes this behavior and adds some more test cases.
Fixes #189
2015-12-01 09:06:30 -08:00
Joe Bowers
a9ab63893d
Merge pull request #179 from coreos/new-invitation-endpoint
...
New invitation endpoint
2015-11-18 14:25:09 -08:00
Joe Bowers
0c854a21d6
server: endpoint and system for sending invitations to dex
...
An invitation allows users to both verify their email address and set
a new password.
2015-11-18 14:24:19 -08:00
bobbyrullo
76befe03bc
Merge pull request #183 from stongo/issue-135
...
server: add scope to newLoginURLFromSession
2015-11-18 12:14:35 -08:00
Marcus Stong
7d0ecf9532
server: add scope to newLoginURLFromSession
...
need to make sure the scope is present otherwise will be considered an invalid request
fixes #135
2015-11-18 14:16:35 -05:00
Brandon Philips
728b64c3cf
Merge pull request #182 from bfallik/patch-1
...
Update README.md
2015-11-13 09:12:42 -08:00
Brian Fallik
63f3f5c553
Update README.md
...
fix whitespace issue
2015-11-13 00:37:45 -05:00
Joe Bowers
2cdb6c0adb
user: more convenient way to read claims that have already been validated
2015-11-11 10:04:54 -08:00
Joe Bowers
792b72ef54
server: spelling of error message
2015-11-11 10:04:54 -08:00
Joe Bowers
468c1b8b5e
user: claims and parsing for invitations
2015-11-11 10:04:54 -08:00
Joe Bowers
ca9227fc19
various: spelling, logging, and commentary cleanup
2015-11-11 10:04:54 -08:00
Brandon Philips
94662920b2
contrib: k8s: fix a broken markdown link
2015-11-11 02:48:04 -08:00
Josh Wood
36803d16dd
Merge pull request #176 from philips/add-connector
...
Improve docs for the getting started guide for oauth2_proxy
2015-11-10 09:50:35 -08:00
Brandon Philips
5dc95b20c7
examples: improve docs in README
...
Make the docs feel more like a tutorial and add some more context.
2015-11-10 09:44:46 -08:00
Brandon Philips
1ee7d6c5f4
static: add fixture client for oauth2_proxy
...
oauth2_proxy is a proxy you can put in front of any http application to
add OAUTH 2.0 auth. I have added OIDC support to this proxy and to make
it easy to get started lets add it to the fixture.
2015-11-08 22:26:41 +01:00
bobbyrullo
add7970e38
Merge pull request #173 from coreos/bobbyrullo-patch-1
...
Documentation: fix link
2015-11-04 10:43:50 -08:00
bobbyrullo
ec43894bbb
Update getting-started.md
2015-11-04 10:43:31 -08:00
bobbyrullo
2488e06627
Merge pull request #172 from Quentin-M/master
...
Fix typo in README
2015-11-03 14:36:04 -08:00
Quentin Machu
66fdedb374
Fix typo in README
2015-11-03 16:55:27 -05:00
bobbyrullo
f1b59cb6a8
Merge pull request #171 from bobbyrullo/add_connectors_docs
...
Documentation: document connectors format.
2015-11-02 19:45:53 -08:00
Bobby Rullo
5f42f5a4b4
Documentation: document connectors format.
2015-11-02 19:45:40 -08:00
bobbyrullo
1ecaab8f0f
Merge pull request #170 from bobbyrullo/invite_docs
...
Documentation: turn on registration in examples
2015-11-02 13:54:11 -08:00
Bobby Rullo
2cc8dc2b36
Documentation: turn on registration in examples
...
fixes #169
2015-11-02 11:07:17 -08:00
bobbyrullo
095aff647b
Merge pull request #168 from bobbyrullo/invite_emails
...
Invite emails
2015-10-30 15:19:19 -07:00
Bobby Rullo
d1e292eb94
server: pass issuer name to emailer
...
Issuer name can be used in Emailer
2015-10-30 15:00:40 -07:00
Bobby Rullo
c94e53846e
email: templatizer takes global context.
...
This is so we can populate emails with things like the issuer name.
2015-10-30 14:53:52 -07:00
Bobby Rullo
2ef1b4beff
user: introduce "invite" emails
...
Invite emails are essentially just reset password emails with a
different template (though this can and probably will change (slightly)
in the near future)
2015-10-30 14:41:00 -07:00
bobbyrullo
9172f54fc2
Merge pull request #167 from gtank/cryptofix
...
use GCM instead of CBC
2015-10-29 15:03:15 -07:00
George Tankersley
07a4d4441e
pkg/crypto: replace old crypto with new crypto
2015-10-29 13:45:25 -07:00
George Tankersley
8d6474b5fd
pkg/crypto: add AES-GCM functions
2015-10-29 13:45:25 -07:00
bobbyrullo
623c6cfe0c
Merge pull request #165 from bobbyrullo/one_Dot_four
...
Dockerfile: use go 1.4 to build
2015-10-22 14:05:39 -07:00