Mark Sagi-Kazar
79721196a8
fix(server): wrap credentials in the correct Dial option
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
4 years ago
Stephen Augustus
243661155e
server: grpc.WithInsecure is now insecure.NewCredentials()
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
4 years ago
Maksim Nabokikh
20875c972e
Discard package "version" ( #2107 )
...
* Discard package "version"
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
* Inject api version
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
* Pass version arg to the dex API
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
5 years ago
Josh Soref
91e153780d
spelling: including
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
5 years ago
Josh Soref
8905fb4a65
spelling: existing
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
5 years ago
m.nabokikh
1d83e4749d
Add gocritic
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
5 years ago
Mark Sagi-Kazar
e84682d7b9
Add v2 api module
6 years ago
Mark Sagi-Kazar
f141f2133b
Fix whitespace
6 years ago
Joel Speed
176ba709a4
Revert "Remove connectordata from other structs"
...
This reverts commit 27f33516db343bd79b56a47ecef0fe514a35082d.
6 years ago
Joel Speed
5c88713177
Remove connectordata from other structs
6 years ago
Tyler Cloke
dd84e73c0e
Add VerifyPassword to API
...
It takes in an email and plain text password to verify. If it fails to find a password stored for email, it returns not_found. If it finds the password hash stored but that hash doesn't match the password passed via the API, it returns verified = false, else it returns verified = true.
Co-authored-by: Alban Seurat <alban.seurat@me.com>
7 years ago
Mark Sagi-Kazar
06521ffa49
Remove the logrus logger wrapper
7 years ago
Mark Sagi-Kazar
be581fa7ff
Add logger interface and stop relying on Logrus directly
7 years ago
Cosmin Cojocar
01c6b9dd91
Remove the 'public' field from UpdateClientReq proto message
7 years ago
Cosmin Cojocar
9d1ec6c36b
Revert "Avoid overwriting exiting redirect URI and trusted peers when updating the client"
...
This reverts commit 49fa5ee6e8 .
7 years ago
Cosmin Cojocar
49fa5ee6e8
Avoid overwriting exiting redirect URI and trusted peers when updating the client
...
Also skip configure the Public field.
7 years ago
Cosmin Cojocar
c9b18b2785
Add tests for UpateClient API
7 years ago
Stephan Renatus
b9f6594bf0
*: github.com/coreos/dex -> github.com/dexidp/dex
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
8 years ago
Eric Chiang
f234e3707e
server: fix panic caused by deleting refresh token twice through api
9 years ago
Eric Stroczynski
2b354c8fdb
server: set sane bcrypt cost upper bound
9 years ago
Eric Stroczynski
4bcb0aaae9
server: log bcrypt cost if > 12, error on runtime > 10s
...
The bcrypt hashing algorithm runtime grows exponentially with cost,
and might cause a timeout if the cost is too high. Notifying the user
of high cost and of long running calculations will help with tuning
and debugging.
9 years ago
Eric Stroczynski
4a88d0641a
: update {S->s}irupsen/logrus
9 years ago
Eric Chiang
f734b140cd
server: use client connected to remove server for gRPC tests
9 years ago
rithu john
921090f05f
api: Update timestamp type for RefreshTokenRef to int64.
9 years ago
rithu john
3df1db1864
storage: Surface "already exists" errors.
9 years ago
rithu john
1ec19d4fbf
api: adding a gRPC call for revoking refresh tokens.
9 years ago
rithu john
9949a1313c
server: modify error messages to use logrus.
9 years ago
rithu john
2e22a948cf
cmd/dex: add logging config and serve logger for different modules.
9 years ago
rithu leena john
ed7e943406
api: add gRPC endpoints for creating, updating and deleting passwords
10 years ago
Eric Chiang
8b079168be
server: add gRPC service implementation
10 years ago
Eric Chiang
cab271f304
initial commit
10 years ago