Commit Graph

2136 Commits

Author SHA1 Message Date
Eng Zer Jun
551022046c
chore: enable depguard for io/ioutil package
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-09-17 19:04:30 +08:00
Eng Zer Jun
f0186ff265
refactor: move from io/ioutil to io and os package
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-09-17 14:12:39 +08:00
dependabot[bot]
40b426b276
Merge pull request #2277 from dexidp/dependabot/go_modules/google.golang.org/api-0.57.0 2021-09-17 04:44:44 +00:00
dependabot[bot]
8a7c2b47f1
build(deps): bump google.golang.org/api from 0.56.0 to 0.57.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.56.0 to 0.57.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.56.0...v0.57.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-17 04:17:58 +00:00
ariary
c6f6dd69e9 lint comment
Signed-off-by: ariary <ariary9.2@hotmail.fr>
2021-09-15 03:58:27 -04:00
m.nabokikh
575742b137 Remove sqlite transaction tests for ent
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-09-14 18:55:03 +04:00
m.nabokikh
096e229562 Get rid of nolint
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-09-13 18:58:32 +04:00
m.nabokikh
4d4edaf540 Fix sqlite an mysql tests
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-09-13 18:48:46 +04:00
m.nabokikh
fb38e1235d Add dialects
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-09-13 17:48:02 +04:00
m.nabokikh
eae3219e4d feat: Add MySQL ent-based storage driver
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-09-13 14:25:17 +04:00
dependabot[bot]
79ce4fdbad
Merge pull request #2269 from dexidp/dependabot/docker/golang-1.17.1-alpine3.14 2021-09-10 05:39:30 +00:00
dependabot[bot]
c9b4e8db3b
Merge pull request #2270 from dexidp/dependabot/go_modules/github.com/russellhaering/goxmldsig-1.1.1 2021-09-10 05:39:00 +00:00
dependabot[bot]
0d5b2ac060
build(deps): bump github.com/russellhaering/goxmldsig
Bumps [github.com/russellhaering/goxmldsig](https://github.com/russellhaering/goxmldsig) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/russellhaering/goxmldsig/releases)
- [Commits](https://github.com/russellhaering/goxmldsig/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: github.com/russellhaering/goxmldsig
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 04:19:07 +00:00
dependabot[bot]
b4b74955bd
build(deps): bump golang from 1.17.0-alpine3.14 to 1.17.1-alpine3.14
Bumps golang from 1.17.0-alpine3.14 to 1.17.1-alpine3.14.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-10 04:07:21 +00:00
kali
1497e70225 Add parametrization of grant type supported in discovery endpoint
Signed-off-by: ariary <ariary9.2@hotmail.fr>
2021-09-03 05:50:59 -04:00
dependabot[bot]
1b8f544873
Merge pull request #2263 from dexidp/dependabot/go_modules/github.com/lib/pq-1.10.3 2021-09-03 08:20:29 +00:00
dependabot[bot]
e412369851
build(deps): bump github.com/lib/pq from 1.10.2 to 1.10.3
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.2 to 1.10.3.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.2...v1.10.3)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 04:17:54 +00:00
dependabot[bot]
b74af809fc
Merge pull request #2262 from dexidp/dependabot/go_modules/google.golang.org/api-0.56.0 2021-09-01 12:25:33 +00:00
dependabot[bot]
656f5548d4
build(deps): bump google.golang.org/api from 0.55.0 to 0.56.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.55.0 to 0.56.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.55.0...v0.56.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 04:16:57 +00:00
dependabot[bot]
53c6eb6675
Merge pull request #2259 from dexidp/dependabot/go_modules/google.golang.org/api-0.55.0 2021-09-01 01:15:20 +00:00
dependabot[bot]
b11a2a5604
Merge pull request #2258 from dexidp/dependabot/docker/alpine-3.14.2 2021-09-01 01:14:45 +00:00
dependabot[bot]
6dcf7a042d
build(deps): bump google.golang.org/api from 0.54.0 to 0.55.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.54.0 to 0.55.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.54.0...v0.55.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 04:14:32 +00:00
dependabot[bot]
33ba1d3b74
build(deps): bump alpine from 3.14.1 to 3.14.2
Bumps alpine from 3.14.1 to 3.14.2.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 04:07:37 +00:00
dependabot[bot]
b3b9c26e5a
Merge pull request #2249 from dexidp/dependabot/go_modules/entgo.io/ent-0.9.1 2021-08-23 22:25:37 +00:00
dependabot[bot]
4488af24b6
build(deps): bump entgo.io/ent from 0.9.0 to 0.9.1
Bumps [entgo.io/ent](https://github.com/ent/ent) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/ent/ent/releases)
- [Commits](https://github.com/ent/ent/compare/v0.9.0...v0.9.1)

---
updated-dependencies:
- dependency-name: entgo.io/ent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 21:42:55 +00:00
Márk Sági-Kazár
ad13fdc523
Merge pull request #2247 from dexidp/go-update
Update Go to 1.17
2021-08-23 23:35:17 +02:00
Mark Sagi-Kazar
a950a24811
chore: update Go version in go.mod
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-08-17 22:42:39 +02:00
Mark Sagi-Kazar
691ecbbd9e
chore: update Go in GitHub Actions
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-08-17 15:57:57 +02:00
Mark Sagi-Kazar
e1c88b2598
chore: update Go in Docker
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-08-17 15:57:29 +02:00
Mark Sagi-Kazar
22db25ef94
chore: update golangci-lint
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-08-17 15:55:53 +02:00
dependabot[bot]
e472fe668e
Merge pull request #2246 from dexidp/dependabot/go_modules/github.com/go-ldap/ldap/v3-3.4.1 2021-08-17 10:36:27 +00:00
dependabot[bot]
d5727600ae
build(deps): bump github.com/go-ldap/ldap/v3 from 3.4.0 to 3.4.1
Bumps [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/go-ldap/ldap/releases)
- [Commits](https://github.com/go-ldap/ldap/compare/v3.4.0...v3.4.1)

---
updated-dependencies:
- dependency-name: github.com/go-ldap/ldap/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 04:15:09 +00:00
dependabot[bot]
10a3ab9c4c
Merge pull request #2242 from dexidp/dependabot/go_modules/api/v2/google.golang.org/grpc-1.40.0 2021-08-16 10:49:00 +00:00
dependabot[bot]
fdc46d2bd3
build(deps): bump google.golang.org/grpc in /api/v2
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.36.1 to 1.40.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.36.1...v1.40.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:26:54 +00:00
dependabot[bot]
4f3e410e33
Merge pull request #2243 from dexidp/dependabot/go_modules/api/v2/google.golang.org/protobuf-1.27.1 2021-08-16 10:25:09 +00:00
dependabot[bot]
091d9eae83
build(deps): bump google.golang.org/protobuf in /api/v2
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.26.0 to 1.27.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.26.0...v1.27.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 09:58:43 +00:00
Mark Sagi-Kazar
2a54eb4e4f
chore: add dependabot config for the api module
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-08-16 11:57:14 +02:00
dependabot[bot]
6c61425e36
Merge pull request #2240 from dexidp/dependabot/go_modules/github.com/AppsFlyer/go-sundheit-0.5.0 2021-08-16 09:51:51 +00:00
dependabot[bot]
dc859e1ca9
Merge pull request #2241 from dexidp/dependabot/go_modules/google.golang.org/api-0.54.0 2021-08-16 09:51:34 +00:00
dependabot[bot]
27d4075f54
Merge pull request #2239 from dexidp/dependabot/go_modules/github.com/go-ldap/ldap/v3-3.4.0 2021-08-16 09:51:08 +00:00
dependabot[bot]
46a7f81f6d
build(deps): bump google.golang.org/api from 0.53.0 to 0.54.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.53.0 to 0.54.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.53.0...v0.54.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 04:20:59 +00:00
dependabot[bot]
7c0fd3f804
build(deps): bump github.com/AppsFlyer/go-sundheit from 0.4.0 to 0.5.0
Bumps [github.com/AppsFlyer/go-sundheit](https://github.com/AppsFlyer/go-sundheit) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/AppsFlyer/go-sundheit/releases)
- [Commits](https://github.com/AppsFlyer/go-sundheit/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/AppsFlyer/go-sundheit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 04:20:04 +00:00
dependabot[bot]
c110f12441
build(deps): bump github.com/go-ldap/ldap/v3 from 3.3.0 to 3.4.0
Bumps [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/go-ldap/ldap/releases)
- [Commits](https://github.com/go-ldap/ldap/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-ldap/ldap/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 04:19:46 +00:00
Márk Sági-Kazár
f9f48016f4
Merge pull request #2232 from rdimitrov/dimitrovr/bump-k8s-deployment
Bump Dex image to v2.30.0 for Kubernetes deployment example
2021-08-13 01:14:41 +02:00
dependabot[bot]
532bc88a65
Merge pull request #2229 from dexidp/dependabot/docker/alpine-3.14.1 2021-08-12 23:05:03 +00:00
dependabot[bot]
f02415a83d
Merge pull request #2236 from dexidp/dependabot/go_modules/google.golang.org/grpc-1.40.0 2021-08-12 20:20:41 +00:00
dependabot[bot]
c4066b2153
build(deps): bump google.golang.org/grpc from 1.39.1 to 1.40.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.39.1 to 1.40.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.39.1...v1.40.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 19:50:52 +00:00
dependabot[bot]
fa18b14437
Merge pull request #2235 from dexidp/dependabot/go_modules/google.golang.org/api-0.53.0 2021-08-12 19:45:06 +00:00
dependabot[bot]
11a9476bef
build(deps): bump google.golang.org/api from 0.52.0 to 0.53.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.52.0 to 0.53.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.52.0...v0.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 04:13:44 +00:00
Monis Khan
3009ae3b5d
Return valid JWT access token from password grant
This change updates the password grant handler to issue a valid JWT
access token instead of just returning a random value as the access
token.  This makes it possible to use the access token against the
user info endpoint.

Signed-off-by: Monis Khan <i@monis.app>
2021-08-11 14:57:58 -04:00