Eric Chiang
5e44b6bc27
*: update all to accommodate changes to go-oidc
...
Update dex to comply with the changes to fieldnames and types of
the client and provider metadata structs in coreos/go-oidc.
10 years ago
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
10 years ago
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.
10 years ago
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.
11 years ago
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)
11 years ago
Joe Bowers
e5db302312
server: expose user disable API endpoint
11 years ago
Joe Bowers
fbbb3cc2df
server: all authorizations fail for disabled users
11 years ago
Joe Bowers
ffabe03bc0
server: don't allow disabled users to access the api
11 years ago
Joe Bowers
f115015a3f
api: don't create a user if you can't send them an email
11 years ago
Giulio Iotti
472e4a02a4
*: Remove unnecessary else statements
...
Whenever it makes the code easier to follow, use early return to
avoid else statements.
11 years ago
Bobby Rullo
66fe201c24
*: move original project to dex
11 years ago