Commit graph

1887 commits

Author SHA1 Message Date
Rui Yang
02860da8b6 use claim mappings when retrieving user identity
Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 15:06:54 -05:00
Rui Yang
60b8875780 use testify in oauth tests
Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 15:06:54 -05:00
Rui Yang
9952851cc4 add configurable preferred_username key
Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 15:06:54 -05:00
Rui Yang
fdf19e8014 add docs for oauth connector
Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 15:06:54 -05:00
Rui Yang
930b331a5b use PreferredUsername
Signed-off-by: Rui Yang <ryang@pivotal.io>
2021-11-17 15:06:53 -05:00
Josh Winters
a087c05ebf Make oauth user name and user id configurable
Signed-off-by: Josh Winters <jwinters@pivotal.io>
Co-authored-by: Mark Huang <mhuang@pivotal.io>
2021-11-17 15:06:53 -05:00
Joshua Winters
9284ffb8c0 Add generic oauth connector
Co-authored-by: Shash Reddy <sreddy@pivotal.io>
Signed-off-by: Joshua Winters <jwinters@pivotal.io>
2021-11-17 15:06:53 -05:00
Mark Sagi-Kazar
1cb4b32fcb chore: upgrade alpine
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-17 15:06:45 -05:00
Márk Sági-Kazár
98e7d7a99d
Merge pull request #2329 from dexidp/fix-ci-permissions
ci: fix container image permissions
2021-11-15 19:07:46 +01:00
Mark Sagi-Kazar
bc9322ff44
ci: fix container image permissions
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-15 17:23:38 +01:00
dependabot[bot]
d3c4a170e3
Merge pull request #2325 from dexidp/dependabot/docker/alpine-3.14.3 2021-11-15 13:00:26 +00:00
dependabot[bot]
0aad109b6f
build(deps): bump alpine from 3.14.2 to 3.14.3
Bumps alpine from 3.14.2 to 3.14.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 04:05:23 +00:00
Stephen Augustus (he/him)
f92fc54b7a
Merge pull request #2321 from dexidp/update-grpc
Update grpc
2021-11-11 16:47:12 -05:00
Márk Sági-Kazár
21a8ac6d3c
Merge pull request #2305 from copperlib/master
fix web static file path slash error for win platform
2021-11-09 12:03:42 +01:00
Mark Sagi-Kazar
12a2c2b104
chore(deps): update grpc
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-09 11:55:21 +01:00
dependabot[bot]
a86beb8952
Merge pull request #2320 from dexidp/dependabot/go_modules/github.com/lib/pq-1.10.4 2021-11-09 10:53:13 +00:00
dependabot[bot]
d6cf1704ea
build(deps): bump github.com/lib/pq from 1.10.3 to 1.10.4
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.3 to 1.10.4.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.3...v1.10.4)

---
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-11-09 04:15:36 +00:00
dependabot[bot]
14fe699dcf
Merge pull request #2317 from dexidp/dependabot/docker/golang-1.17.3-alpine3.14 2021-11-05 19:38:19 +00:00
dependabot[bot]
d2eec79e48
build(deps): bump golang from 1.17.2-alpine3.14 to 1.17.3-alpine3.14
Bumps golang from 1.17.2-alpine3.14 to 1.17.3-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-11-05 04:07:19 +00:00
Mark Sagi-Kazar
588910468a
chore: improve github files
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-01 14:12:13 +01:00
dependabot[bot]
aebe808162
Merge pull request #2308 from dexidp/dependabot/go_modules/google.golang.org/api-0.60.0 2021-10-29 09:47:46 +00:00
dependabot[bot]
71d5c3415f
build(deps): bump google.golang.org/api from 0.59.0 to 0.60.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.59.0 to 0.60.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.59.0...v0.60.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-10-29 04:22:13 +00:00
copperyp
5854dd192d using path.Join replace filepath.Join
Signed-off-by: copperyp <copperyp@gmail.com>
2021-10-27 14:44:26 +08:00
copperyp
a1c1076137 fix web static file path slash error for win platform
Signed-off-by: copperyp <copperyp@gmail.com>
2021-10-23 12:13:55 +08:00
Maksim Nabokikh
84b241721e
Merge pull request #2300 from flant/do-not-update-offline-session-last-time
fix: do not update offlinesession lastUsed field if refresh token was not updated
2021-10-21 20:23:45 +04:00
Márk Sági-Kazár
18311aa44d
Merge pull request #2234 from enj/enj/i/password_grant_access_token
Return valid JWT access token from password grant
2021-10-21 17:42:33 +02:00
dependabot[bot]
30bfb924c2
Merge pull request #2303 from dexidp/dependabot/go_modules/google.golang.org/api-0.59.0 2021-10-21 08:20:22 +00:00
dependabot[bot]
58cac422f5
build(deps): bump google.golang.org/api from 0.58.0 to 0.59.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.58.0 to 0.59.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.58.0...v0.59.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-10-21 04:34:23 +00:00
dependabot[bot]
5210e758d2
Merge pull request #2287 from dexidp/dependabot/go_modules/google.golang.org/api-0.58.0 2021-10-20 09:15:24 +00:00
dependabot[bot]
514c2f29c6
Merge pull request #2286 from dexidp/dependabot/go_modules/api/v2/google.golang.org/grpc-1.41.0 2021-10-20 09:14:56 +00:00
dependabot[bot]
e2c40f8f71
Merge pull request #2302 from dexidp/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.9 2021-10-20 09:14:25 +00:00
dependabot[bot]
66aba9c32b
build(deps): bump github.com/mattn/go-sqlite3 from 1.14.8 to 1.14.9
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.8 to 1.14.9.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.8...v1.14.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-20 04:21:44 +00:00
dependabot[bot]
b9046ce566
build(deps): bump google.golang.org/api from 0.57.0 to 0.58.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.57.0 to 0.58.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.57.0...v0.58.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-10-19 22:51:22 +00:00
dependabot[bot]
ed5315bb2e
build(deps): bump google.golang.org/grpc in /api/v2
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.40.0...v1.41.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-10-19 22:44:07 +00:00
Stephen Augustus (he/him)
f7d2bf38b2
Merge pull request #2285 from dexidp/dependabot/go_modules/google.golang.org/grpc-1.41.0
build(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0
2021-10-19 15:28:58 -07:00
m.nabokikh
9fad0602ec fix: do not update offlinesession lastUsed field if refresh token was not change
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-10-19 01:16:34 +04:00
dependabot[bot]
c319983ecc
Merge pull request #2299 from dexidp/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.1 2021-10-18 12:06:05 +00:00
dependabot[bot]
a48c8ea9a4
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.0 to 3.5.1
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/CHANGELOG-3.5.md)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 10:38:58 +00:00
dependabot[bot]
94597d8dc8
Merge pull request #2298 from dexidp/dependabot/go_modules/go.etcd.io/etcd/client/pkg/v3-3.5.1 2021-10-18 09:05:31 +00:00
Joel Speed
4aa7e6846f
Merge pull request #2268 from snuggie12/mh-2111-nested-groups
Resolves #2111 Option to fetch transitive group membership
2021-10-18 09:46:54 +01:00
dependabot[bot]
0dd5d65cc7
build(deps): bump go.etcd.io/etcd/client/pkg/v3 from 3.5.0 to 3.5.1
Bumps [go.etcd.io/etcd/client/pkg/v3](https://github.com/etcd-io/etcd) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/CHANGELOG-3.5.md)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/pkg/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 04:21:05 +00:00
Matt Hoey
ee5b5b25bd Resolves #2111 Option to fetch transitive group membership
Signed-off-by: Matt Hoey <matt.hoey@missionlane.com>
2021-10-17 12:48:22 -07:00
dependabot[bot]
a15cd8788f
Merge pull request #2292 from dexidp/dependabot/docker/golang-1.17.2-alpine3.14 2021-10-08 12:07:14 +00:00
dependabot[bot]
6bb627f3e3
build(deps): bump golang from 1.17.1-alpine3.14 to 1.17.2-alpine3.14
Bumps golang from 1.17.1-alpine3.14 to 1.17.2-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-10-08 04:07:23 +00:00
Márk Sági-Kazár
67ba7a1c70
Merge pull request #2265 from ariary/master
Add parametrization of grant type supported in discovery endpoint
2021-10-06 15:54:17 +02:00
ariary
7bc966217d sort grant type supported
Signed-off-by: ariary <ariary9.2@hotmail.fr>
2021-10-06 08:29:14 -04:00
dependabot[bot]
8593933883
build(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.40.0...v1.41.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-09-29 07:06:55 +00:00
Márk Sági-Kazár
ff6e7c7688
Merge pull request #2282 from flant/fix-ioutils-mysql
chore: fix ioutil lint error after merging MySQL ent storage
2021-09-29 08:58:35 +02:00
m.nabokikh
d4e82e3315 chore: fix ioutil lint error after merging MySQL ent storage
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-09-21 08:35:25 +04:00
Maksim Nabokikh
f92a6f4457
Merge pull request #2272 from flant/mysql-ent
feat: Add MySQL ent-based storage driver
2021-09-21 08:24:36 +04:00