Commit Graph

621 Commits

Author SHA1 Message Date
github-actions[bot] bf5090e59d Version Packages 2021-10-21 13:28:13 +00:00
Patrik Oldsberg 803c5550c5 Merge pull request #7568 from backstage/firestore-keystore
auth-backend: Add Firestore as new key-store provider
2021-10-21 14:43:05 +02:00
Patrik Oldsberg 34da1574a3 auth-backend: rename postgres keystore provider to database
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-21 13:48:49 +02:00
Daniel Deloff 727554274e updated api report, adds Atlassian to vocab
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-21 07:23:23 -04:00
Marcus Eide 6237e636eb Be more specific when accessing firestore provider config
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-21 10:30:29 +02:00
Marcus Eide 7e707db187 Undo making database optional
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-21 10:01:12 +02:00
Daniel Deloff cfbe1b97f6 Merge branch 'master' into atlassian-auth
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-20 22:10:37 -04:00
Daniel Deloff deda608b2e removes default signin resolver, updates tests
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-20 20:53:54 -04:00
Daniel Deloff ce038268c1 feedback fixes
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-20 17:15:00 -04:00
Patrik Oldsberg b2687344d8 Merge pull request #7534 from akrantz01/6284/okta-https-audience
Require https audience for Okta authentication
2021-10-20 18:50:57 +02:00
Marcus Eide b294f6056f Wrap operations in a configurable timeout and add method to verify the database connection
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-19 16:42:40 +02:00
Patrik Oldsberg 36e67d2f24 more strict error type checking in most packages and backend plugins
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-17 15:09:05 +02:00
Marcus Eide 33b9694f5c Add support for more settings
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:38:50 +02:00
Marcus Eide 5ad1f523d5 Make the create function async
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:38:49 +02:00
Marcus Eide d2f755fa73 Update api-reports
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:38:48 +02:00
Marcus Eide 4f4e22d176 Use KeyStores.fromConfig() in router
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:38:47 +02:00
Marcus Eide 12d4abe7b2 Add project dependency to package.json
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:38:43 +02:00
Marcus Eide 16288b6580 Add class that will return a key-store based on application config
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:37:56 +02:00
Marcus Eide 3a62f7619a Add class to use Firestore as a key-store
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:37:56 +02:00
Marcus Eide d8ea1edcdb Add support for auth.keyStore in application config
Signed-off-by: Marcus Eide <eide@spotify.com>
2021-10-15 10:37:56 +02:00
Crevil de3e26aecc Fix refresh reuse bug in Github provider
Currently when the Github provider refreshes an access token it doesn't forward
the new refresh token to the caller. As Github only allows refresh tokens to be
used once, the next refresh call will fail.

This change fixes the bug by returning the new refresh token upon refresh.

This change is similar to 25a613bdd7 (#7110) for
the GitLab provider.

Signed-off-by: Crevil <bjoern.soerensen@gmail.com>
2021-10-14 21:26:43 +02:00
github-actions[bot] 4c840cebfa Version Packages 2021-10-14 12:45:08 +00:00
Daniel Deloff 93f6d19f7f updates api reports
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-13 08:23:37 -04:00
Alex Krantz e2039ef99a fix: add comment for clarification and require full scheme
Signed-off-by: Alex Krantz <alex@krantz.dev>
2021-10-12 10:29:18 -07:00
Daniel Deloff 471b212f85 merged in master
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-12 11:54:27 -04:00
Daniel Deloff 1f58e63bcc updates test
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-12 11:35:40 -04:00
Daniel Deloff 044a4511eb adds docs, fixes plugin
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-12 11:30:12 -04:00
Daniel Deloff 5cb4d2eabc updates scope configuration
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-11 16:46:01 -04:00
Daniel Deloff 037447efd3 adds atlassian auth provider
Signed-off-by: Daniel Deloff <44780793+rv-ddeloff@users.noreply.github.com>
2021-10-11 15:05:21 -04:00
Fredrik Adelöw a9564f20a9 Merge pull request #7380 from mfrinnstrom/aws-alb-auth-backend
Update aws-alb auth provider
2021-10-11 20:58:19 +02:00
Alex Krantz 4611d59fdc fix: require https for Okta audience URL
Signed-off-by: Alex Krantz <alex@krantz.dev>
2021-10-09 17:30:11 -07:00
Fredrik Adelöw 4da03bd4a5 Merge pull request #7496 from Dolinskaya/add-extra-params-for-saml-provider
Added extra configuration params for saml adfs identity
2021-10-08 14:07:13 +02:00
Mattias Frinnström f29ad9fe6d Update api-report.md
Signed-off-by: Mattias Frinnström <mattias.frinnstrom@husqvarnagroup.com>
2021-10-07 16:43:05 +02:00
Mattias Frinnström 0de80576e3 auth-backend: update aws-alb provider
Signed-off-by: Mattias Frinnström <mattias.frinnstrom@husqvarnagroup.com>
2021-10-07 16:43:05 +02:00
gracheva e9b9272865 added new params to the config schema
Signed-off-by: gracheva <gracheva@tutu.tech>
2021-10-07 16:50:28 +03:00
gracheva d29eaeb1e0 removed package-lock and reversed changes for yarn.lock
Signed-off-by: gracheva <gracheva@tutu.tech>
2021-10-07 16:35:03 +03:00
gracheva defae8f579 Added extra configuration params for saml adfs identity
Signed-off-by: gracheva <gracheva@tutu.tech>
2021-10-07 16:12:39 +03:00
github-actions[bot] 97420439e1 Version Packages 2021-10-07 12:17:39 +00:00
Johan Haals 604987599e chore: Adds missing method to mocked catalog APIs
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-10-06 09:12:35 +02:00
Patrik Oldsberg 69e40c00b2 auth-backend: remove default bitbucket sign-in provider
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-10-05 18:35:37 +02:00
Patrik Oldsberg c2512887a6 Merge pull request #7308 from FilipSwiatczak/bitbucket-auth
Bitbucket cloud authentication
2021-10-05 17:06:42 +02:00
Filip Swiatczak ad7bfe6810 dropped display name Resolver, uuid -> user-id
Signed-off-by: Filip Swiatczak <filip.swiatczak@gmail.com>
2021-10-01 17:05:48 +01:00
Filip Swiatczak ed52838471 Resolvers: Username, DisplayName, UUID added. Default removed
Signed-off-by: Filip Swiatczak <filip.swiatczak@gmail.com>
2021-09-30 21:11:00 +01:00
github-actions[bot] f67e8ddcec Version Packages 2021-09-30 11:43:05 +00:00
Filip Swiatczak 7105058bac bitbucket typed.d.ts added
Signed-off-by: Filip Swiatczak <filip.swiatczak@gmail.com>
2021-09-30 10:30:47 +01:00
Filip Swiatczak 22ef4c3307 exporting bitbucket types
Signed-off-by: Filip Swiatczak <filip.swiatczak@gmail.com>
2021-09-30 09:22:15 +01:00
Filip Swiatczak 96658c576d signIn.resolver made mandatory + test fix
Signed-off-by: Filip Swiatczak <filip.swiatczak@gmail.com>
2021-09-29 20:24:34 +01:00
Filip Swiatczak 114fbb8e4a sign-in resolver and auth handler added, plus profile icon
Signed-off-by: Filip Swiatczak <filip.swiatczak@gmail.com>
2021-09-29 18:18:49 +01:00
Nicolas Arnold 4098ade69d Addressing comments
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-09-28 09:15:47 +01:00
Nicolas Arnold e6cb54be9b Fix formating
Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-09-28 09:15:47 +01:00