Commit Graph

699 Commits

Author SHA1 Message Date
Patrik Oldsberg 2f26120a36 auth-backend: changeset and api report update for auth0 and onelogin
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-28 16:01:01 +01:00
Patrik Oldsberg 04b1d4be44 auth-backend: refactor onelogin to use sign-in resolver
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-28 15:26:36 +01:00
Patrik Oldsberg b29d976330 auth-backend: refactor auth0 to use sign-in resolver
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-28 15:26:11 +01:00
Patrik Oldsberg 5ad4643977 Merge pull request #8633 from carlitose/fix/refresh_login_okta
fixing refresh token Okta provider #8632
2021-12-28 13:22:23 +01:00
Carlo Giuseppe Sergi a9abafa9df fixing refresh token okta provider
Signed-off-by: Carlo Giuseppe Sergi <carlo.sergi@klarna.com>
2021-12-28 11:03:08 +01:00
Patrik Oldsberg 62b3cea48d Merge pull request #8592 from AmericanAirlines/fix-clear-text-cookie-codeql
fix: enforce cookie ssl in production
2021-12-27 19:13:59 +01:00
Patrik Oldsberg 6bb256cad2 Merge pull request #8596 from cmpadden/adr013-adherance
Replace `got` and `axios` dependencies with `node-fetch`
2021-12-27 17:05:51 +01:00
Fidel Coria 4ad024fd45 Merge branch 'master' of github.com:AmericanAirlines/backstage into fix-clear-text-cookie-codeql
Signed-off-by: Fidel Coria <fidel.coria@aa.com>
2021-12-27 10:04:19 -06:00
Colton Padden 7e45b03f4d add msw intercept for graph.microsoft and test photo query response
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-23 10:57:36 -05:00
github-actions[bot] 3d68c45ef7 Version Packages 2021-12-23 12:23:34 +00:00
Colton Padden f0f81f6cc7 remove got dependency from auth-backend
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-22 14:23:16 -05:00
Fidel Coria 5801adbd18 use authUrl for condition
Signed-off-by: Fidel Coria <fidel.coria@aa.com>
2021-12-22 10:47:36 -06:00
Fidel Coria e3b11376cb fix: enforce cookie ssl in production
Signed-off-by: Fidel Coria <fidel.coria@aa.com>
2021-12-22 10:24:30 -06:00
Patrik Oldsberg 24a67e3e2e auth-backend: fix identity fallback to populate userEntityRef correctly
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-17 00:48:03 +01:00
github-actions[bot] ef6a039e07 Version Packages 2021-12-16 08:56:38 +00:00
Ben Lambert a223118d6a Merge pull request #8425 from nodify-at/master
export typescript types for OIDC provider
2021-12-13 13:30:57 +01:00
Hasan Ozdemir 133769ea84 add links to docs for type BackstageSignInResult
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-11 01:45:39 +01:00
Hasan Ozdemir e0c63b37db add missing documentation for OidcAuthResult
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-09 21:38:14 +01:00
Hasan Ozdemir abd6ff3430 improve exported type to include resolver and handlers for auth providers, add additional types to fix api-doc related warnings
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-09 21:38:14 +01:00
github-actions[bot] 9068128fd8 Version Packages 2021-12-09 12:02:28 +00:00
Hasan Ozdemir 699c2e9ddc added a changeset and generate api reports
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-09 12:33:18 +01:00
Hasan Ozdemir 8e3363a1d8 export typescript types for OIDC provider
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-09 11:46:36 +01:00
Johan Haals dd77b5eb12 Merge pull request #8283 from backstage/mob/identity-api
core-plugin-api: stabilize IdentityApi
2021-12-08 14:29:03 +01:00
Fredrik Adelöw 986a5d869e Merge pull request #8405 from backstage/freben/nounpack
Do not unpack arguments directly on exported items 🧹
2021-12-08 13:15:13 +01:00
Fredrik Adelöw dcd1a0c3f4 Do not unpack arguments directly on exported items
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-12-07 19:42:10 +01:00
Johan Haals 13ae212d21 Rename option from basicAuth to includeBasicAuth
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-07 11:55:04 +01:00
Johan Haals 8f461e6043 auth-backend(fix): Add basicAuth option to OAuth provider
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-07 10:59:52 +01:00
blam 11b7c39fb6 chore: added caching for successful profile retrieval
Signed-off-by: blam <ben@blam.sh>
2021-12-07 10:52:27 +01:00
Patrik Oldsberg 1154ec0017 auth-backend: decorateWithIdentity -> prepareBackstageIdentityResponse + API report fixes
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-06 17:23:01 +01:00
Patrik Oldsberg 73c73b71d1 auth: simplify types and reintroduce deprecated BackstageIdentity
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-06 14:51:40 +01:00
blam e847694fbb chore: rebuild api-report now I fixed some issues
Signed-off-by: blam <ben@blam.sh>
2021-12-03 14:10:00 +01:00
blam e0f5814037 chore: more code review comments
Signed-off-by: blam <ben@blam.sh>
2021-12-03 10:33:05 +01:00
blam a76dacda24 chore: fix up the api reports
Signed-off-by: blam <ben@blam.sh>
2021-12-03 10:24:01 +01:00
blam 388fd9bb7f chore: fixing some code review comments
Signed-off-by: blam <ben@blam.sh>
2021-12-03 10:21:01 +01:00
blam acbb4cedd4 chore: fix derpy merge conflicts
Signed-off-by: blam <ben@blam.sh>
2021-12-03 10:08:04 +01:00
github-actions[bot] 29f2606ed9 Version Packages 2021-12-02 12:35:24 +00:00
blam 3b39323f26 chore: revert some of the provider changes are they are handled in the OAuthAdapter now
Signed-off-by: blam <ben@blam.sh>
2021-12-02 13:33:47 +01:00
blam 11a90d6a79 chore: revert some of the handling
Signed-off-by: blam <ben@blam.sh>
2021-12-02 13:33:47 +01:00
blam b3ac79d7c2 chore: updated the api-report for auth backend. probably need to make this a bit better.
Signed-off-by: blam <ben@blam.sh>
2021-12-02 13:33:47 +01:00
blam 39645e56ac chore: reworking the auth providers to decorate the identity from the token that is returned from the different providers
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2021-12-02 13:33:47 +01:00
blam 29d0b45c6a chore: fixing issue with multi signin providers
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2021-12-02 13:32:35 +01:00
blam 64c3fc492e chore: fix up api-reports and fix the export
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: blam <ben@blam.sh>
2021-12-02 13:32:35 +01:00
Johan Haals 8c337a480f chore: Update types and API reports
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-02 13:32:35 +01:00
Johan Haals e9471d274c Use BackstageUserIdentity, fix tests
Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-02 13:32:35 +01:00
Patrik Oldsberg 5722e731aa Merge pull request #8292 from sonali-mishra-94/add-oauth2-header
Add custom authorization header for OAuth2.0 strategy
2021-12-02 13:29:42 +01:00
Johan Haals 32b0443660 core-plugin-api: Use LegacyUserIdentity helper
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
2021-12-02 13:29:27 +01:00
Patrik Oldsberg 6304c8f947 core-plugin-api: Refactor IdentityApi
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-02 13:29:27 +01:00
Patrik Oldsberg 019997dd4e Merge pull request #8331 from backstage/rugvip/auth-fin
auth-backend: migrate saml provider to sign-in resolver
2021-12-02 13:03:55 +01:00
Patrik Oldsberg 4bf4111902 auth-backend: migrate saml provider to sign-in resolver
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-12-02 12:06:22 +01:00
Hasan Ozdemir 2c4cda7506 define the profile in oidc provider without using makeProfile function
Signed-off-by: Hasan Ozdemir <21654050+nodify-at@users.noreply.github.com>
2021-12-02 11:31:40 +01:00