Commit Graph

593 Commits

Author SHA1 Message Date
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
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
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
Nicolas Arnold 88622e6422 Add ability to override github app callback url
By default, the github app provider redirects back to the base url.
This change allows a user to override the GitHub App url using the config field `customCallbackUrl`.

It will look like this in the configuration:
```
auth:
  providers:
    github:
      development:
        clientId: SUPER ID
        clientSecret: SUPER SECRET
        customCallbackUrl: https://some-url.com/callback
```

Signed-off-by: Nicolas Arnold <nic@roadie.io>
2021-09-27 10:45:55 +01:00
Ryan Hanchett a6e5a95c16 fix: pass updated refresh token to oauth2 adapter
Signed-off-by: Ryan Hanchett <ryan.hanchett@invitae.com>
2021-09-24 20:28:28 -07:00
Filip Swiatczak 74534f6d39 Bitbucket cloud authentication client added
Signed-off-by: Filip Swiatczak <filip.swiatczak@gmail.com>
2021-09-23 17:17:10 +01:00
Fredrik Adelöw 6f1ac68647 Merge pull request #7298 from backstage/freben/less-core-api
get rid of some core-api mentions too
2021-09-23 16:18:13 +02:00
Fredrik Adelöw 12e074a6e4 get rid of some core-api mentions too
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-23 15:16:41 +02:00
Patrik Oldsberg 80ab3c25ad auth-backend: explicit pickBy type
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-23 14:16:39 +02:00
github-actions[bot] 6e5b1bda9d Version Packages 2021-09-23 10:01:17 +00:00
Johan Haals dbcaa6387a Catalog: Add refresh button to AboutCard
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-09-17 09:15:14 +02:00
github-actions[bot] fff5c48429 Version Packages 2021-09-16 11:41:51 +00:00
Patrik Oldsberg 8142a8ecb2 packages,plugins: add package documentation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:47:53 +02:00
Patrik Oldsberg 71f6356390 plugins: add package descriptions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-14 18:33:40 +02:00
Patrik Oldsberg de5717872d auth-backend: throw error if OIDC IdP does not have a userinfo endpoint
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-10 16:16:44 +02:00
Fredrik Adelöw 977710cf3c Merge pull request #7015 from backstage/freben/saml-3-bump
Bump `passport-saml` to version 3
2021-09-10 14:29:23 +02:00
Guilherme Vierno 560d6810f0 fix(auth-backend): update gitlab refresh token on refresh
Signed-off-by: Guilherme Vierno <guilhermevierno@gmail.com>
2021-09-09 10:34:27 -03:00
github-actions[bot] 45a681aa6a Version Packages 2021-09-02 10:41:57 +00:00
Patrik Oldsberg ff5395a57c Merge pull request #6512 from pschildkamp/auth_handler_and_sign-in_resolvers_oauth2
Auth handler and sign in resolvers oauth2
2021-09-02 12:35:38 +02:00
Fredrik Adelöw 145f7a5dd1 add api report
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-09-01 10:33:08 +02:00
Enrico Stahn 968412fa4e fix: export createGithubProvider
Signed-off-by: Enrico Stahn <enrico.stahn@gmail.com>
2021-09-01 15:43:32 +10:00
Fredrik Adelöw 19f45179a5 Bump passport-saml to version 3
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-31 16:47:00 +02:00
Pepijn Schildkamp 723df8e8ce processed review comments. Ran prettier, api-report, minor to patch
Signed-off-by: Pepijn Schildkamp <pepijn.schildkamp@gmail.com>
2021-08-31 16:41:29 +02:00
Fredrik Adelöw 2a105f4514 Add a warning log message that passport-saml will require a cert config parameter imminently
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-31 16:22:54 +02:00
Fredrik Adelöw 1f7b3807f3 fixed two cross-package imports
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-27 20:02:42 +02:00
github-actions[bot] e7130884a0 Version Packages 2021-08-26 11:25:27 +00:00
Pepijn Schildkamp 159e107ab3 Simplified default sign-in resolver to split on e-mail address
Signed-off-by: Pepijn Schildkamp <pepijn.schildkamp@gmail.com>
2021-08-25 16:07:48 +02:00
Pepijn f2b52cd150 Merge branch 'master' into auth_handler_and_sign-in_resolvers_oauth2 2021-08-25 14:12:37 +02:00
Patrik Oldsberg ea9fe95674 auth-backend: fix but where undefined state values where being stringified
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-08-24 17:42:04 +02:00
Johan Haals 5aebf54a12 Merge pull request #6535 from DeveloperSHD/feature/gitlab-auth-provider
Feature/gitlab auth provider
2021-08-23 16:54:50 +02:00
Patrik Oldsberg a4d419025a Merge pull request #6912 from backstage/rugvip/gha
auth-backend,core-app-api: add support for auth via GitHub Apps + handler options
2021-08-23 14:58:27 +02:00