Commit Graph

1952 Commits

Author SHA1 Message Date
Rui Yang
8b865169bd fix minor compilation error for group claim
us 'os' insteak of 'io/ioutil'

Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 17:58:34 -05:00
Vlad Safronov
7c80e44caf Add a test case
Signed-off-by: Vlad Safronov <vladislav.safronov@oracle.com>
2021-11-17 15:06:54 -05:00
Vlad Safronov
45932bd38a skymarshal: behaviour: Handle groups as maps
There are cases when groups are represented as a list
of maps, not strings e.g. "groups":[{"id":"1",
"name":"gr1"},{"id": "2", "name":"gr2"}]. Handle groups
represented as a list of maps.

concourse/dex#23

Signed-off-by: Vlad Safronov <vladislav.safronov@oracle.com>
2021-11-17 15:06:54 -05:00
Rui Yang
f980d3e0a7 cleanup and optimization
Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 15:06:54 -05:00
Rui Yang
8ea121b45a move oauth connector doc to dex website repo
move default key values configure to connector construct function

Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 15:06:54 -05:00
Rui Yang
49cb30af26 readme minor fix for oauth connector
Signed-off-by: Rui Yang <ruiya@vmware.com>
2021-11-17 15:06:54 -05:00
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
Mark Sagi-Kazar
e875745ee0
chore: add kind to the tooling
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:46:33 +01:00
Mark Sagi-Kazar
49f9853a89
docs: add license section to the readme
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:11:38 +01:00
Mark Sagi-Kazar
1ecc17292b
docs: add a development section to the readme
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:11:38 +01:00
Mark Sagi-Kazar
f45fe6d0c1
refactor: tool dependency download
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:11:38 +01:00
Mark Sagi-Kazar
054e397177
refactor: remove unused proto scripts
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 14:11:38 +01:00
Mark Sagi-Kazar
ee76923443
chore: add direnv
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 13:25:04 +01:00
Mark Sagi-Kazar
1bfb1ab757
build: add nix flake
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-11-14 13:24:28 +01: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