Commit Graph

818 Commits

Author SHA1 Message Date
Bilawal Hameed f9a5522c7d fix: update readme with work-in-progress status 2020-06-22 13:58:18 +02:00
Bilawal Hameed 179444ef83 feat(techdocs): yarn create-plugin 2020-06-22 13:42:42 +02:00
Patrik Oldsberg 0ddabab956 Merge pull request #1380 from spotify/rugvip/oidc
auth-backend: Add lightweight OpenID Provider discovery and token issuing
2020-06-22 11:26:20 +02:00
dependabot-preview[bot] e62cc606fb build(deps): bump graphql from 15.0.0 to 15.1.0 (#1391)
Bumps [graphql](https://github.com/graphql/graphql-js) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/graphql/graphql-js/releases)
- [Commits](https://github.com/graphql/graphql-js/compare/v15.0.0...v15.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-22 09:53:17 +02:00
Nikita Nek Dudnik fb3c9f4152 Merge remote-tracking branch 'origin/master' into ndudnik/filter-by-identity 2020-06-22 09:35:23 +02:00
Daniel Davis cdcb9ed2ef Adding name of signed in user to greeting message (#1387)
Co-authored-by: Daniel Davis <danieldavis@daniels-mbp.home>
2020-06-21 21:25:24 +02:00
David Tuite b48d37c022 Fix CircleCI plugin (#1384)
* Fix disappearing CircleCI plugin

The paths for the CircleCI plugin were too deeply nested causing a blank
page to render when one visited /circleci.

* Set correct inputs from CircleCI settings

Typically, a value like `tokenFromStore` would be an empty string. The
code was setting `tokenFromStore` (rather than `token`) into the state
on every keystroke.

I don't know what potential effect this change has on storing tokens
because I haven't tested that feature yet. Hopefully it still works as
intended.

* Add Vim .swp files to .gitignore

Co-authored-by: David Tuite <dtuite@gmail.com>
2020-06-21 21:10:53 +02:00
Patrik Oldsberg 180be84ba2 auth-backend: clean up naming and types of TokenFactory time handling 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 3562d836fe auth-backend: some review feedback of oidc bits 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 031b1d8b39 auth-backend: remove logging from DatabaseKeyStore 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 20cb44ff2c auth-backend: more docs for TokenFactory 2020-06-21 17:00:54 +02:00
Patrik Oldsberg 8e05f91c29 auth-backend: added tests for TokenFactory and fix keyDuration being ignored 2020-06-21 17:00:53 +02:00
Patrik Oldsberg 5d85c188b2 auth-backend: added tests for DatabaseKeyStore 2020-06-21 17:00:53 +02:00
Patrik Oldsberg a4bbcaa002 auth-backend: refactor identity to remove logic from storage layer 2020-06-21 17:00:53 +02:00
Patrik Oldsberg a1e975b8ac auth-backend: document identity types 2020-06-21 17:00:53 +02:00
Patrik Oldsberg 48b6f9533c auth-backend: refactor identity APIs for forwards compatibility 2020-06-21 17:00:52 +02:00
Patrik Oldsberg 625f50725b auth-backend: update standalone setup to use service builder and HMR 2020-06-21 17:00:52 +02:00
Patrik Oldsberg 5bd70f9aa5 auth-backend: issue user id tokens when signing in with google or github 2020-06-21 17:00:52 +02:00
Patrik Oldsberg f2746a6eec auth-backend: move logger setup out from constructors and use non-reserved fields 2020-06-21 17:00:52 +02:00
Patrik Oldsberg c72056eb29 auth-backend: make key duration configurable 2020-06-21 17:00:51 +02:00
Patrik Oldsberg 55faf713c3 auth-backend: fix jwks response not wrapping keys in object 2020-06-21 17:00:51 +02:00
Patrik Oldsberg af0bfccbb5 auth-backend: generate kid with uuid and use P-256 2020-06-21 17:00:51 +02:00
Patrik Oldsberg b0bf34cfc9 auth-backend: use well-known route for jwks 2020-06-21 17:00:50 +02:00
Patrik Oldsberg ca9a2ddf1a auth-backend: hook up oidc router and token issuer/db 2020-06-21 17:00:50 +02:00
Patrik Oldsberg adc574ee33 auth-backend: make DatabaseKeyStore only return valid keys and remove expired ones 2020-06-21 17:00:50 +02:00
Patrik Oldsberg 90cc2ca615 auth-backend: expire signing keys 2020-06-21 17:00:49 +02:00
Patrik Oldsberg 0a305d7f70 auth-backend: initial identity provider implementation 2020-06-21 17:00:49 +02:00
Nikita Nek Dudnik eac8ac8bd0 fix(catalog): make plugin conform to template 2020-06-19 04:02:58 +02:00
Nikita Nek Dudnik fce3e7576c fix(catalog): tests 2020-06-18 21:20:47 +02:00
Stefan Ålund 97311ba5c6 Update entity overview card grid (#1366) 2020-06-18 16:57:27 +02:00
Raghunandan Balachandran 2156b06280 Merge pull request #1368 from spotify/auth-documentation
Auth docs
2020-06-18 14:20:07 +02:00
Raghunandan b421ba6b8d review fixes 2020-06-18 13:55:03 +02:00
Fredrik Adelöw 3bff1d6a68 address comments 2020-06-18 13:28:19 +02:00
Fredrik Adelöw 8d961027a9 chore(catalog-model): move shared entity model logic here 2020-06-18 13:06:51 +02:00
Patrik Oldsberg a098ebca27 packages,plugins: remove main:src and fix some main fields 2020-06-18 12:25:25 +02:00
Raghunandan efd632d9ce logout -> sign out 2020-06-18 12:10:44 +02:00
Raghunandan bf93cfb343 docs docs 2020-06-18 12:09:05 +02:00
Patrik Oldsberg 06cf743d7a Merge pull request #1346 from spotify/rugvip/mustconf
packages/config: added must* variant for reading required primitive values
2020-06-18 10:30:10 +02:00
Stefan Ålund 1150e0a125 Polishing the Create page (#1353)
* Polishing the Create page

* Review comments
2020-06-17 22:57:25 +02:00
Stefan Ålund 0f1ba02bc7 Starred icon is yellow (#1351) 2020-06-17 22:38:45 +02:00
Patrik Oldsberg 3dcef70e3c packages/config: flip around must* and get* to get* and getOptional* 2020-06-17 20:10:44 +02:00
Patrik Oldsberg af7a9022fb Merge pull request #1345 from spotify/rugvip/backconf
packages/backend: load config and make it part of plugin env + use in auth-backend
2020-06-17 17:37:45 +02:00
Nikita Nek Dudnik cdbf37c061 Merge remote-tracking branch 'origin/master' into ndudnik/filter-by-identity 2020-06-17 17:13:52 +02:00
Patrik Oldsberg 034c04c259 plugins/auth-backend: load config in standalone environment 2020-06-17 17:06:03 +02:00
Nikita Nek Dudnik 29a88c3e9c fix(catalog): tests 2020-06-17 17:00:10 +02:00
Patrik Oldsberg 73898f3084 Merge pull request #1344 from spotify/rugvip/lag
packages: bump lagging package versions
2020-06-17 16:57:25 +02:00
Patrik Oldsberg e923d751a7 plugins/auth-backend: read backend.baseUrl from config 2020-06-17 16:54:02 +02:00
Patrik Oldsberg aae6f1503a packages: bump lagging package versions 2020-06-17 16:35:33 +02:00
Raghunandan 4a1fa314af Consume identity data from ts instead of Json 2020-06-17 16:31:22 +02:00
Fredrik Adelöw 03bbb41f2c fix: move deps to where they need to be 2020-06-17 15:47:08 +02:00