Commit Graph

495 Commits

Author SHA1 Message Date
Stéphane MORI 04be344a8f Set acceptedClockSkewMs SAML configuration optional
Signed-off-by: Stéphane MORI <stephane.mori@gmail.com>
2021-07-28 09:37:37 +02:00
Stéphane MORI 6192b5e1c7 Allow to configure SAML auth acceptedClockSkewMs
Signed-off-by: Stéphane MORI <stephane.mori@gmail.com>
2021-07-28 09:37:37 +02:00
github-actions[bot] f51fcaeba2 Version Packages 2021-07-22 10:52:38 +00:00
Roy Jacobs 2567c066d5 Export TokenIssuer so that it may be used by non-native auth providers
Signed-off-by: Roy Jacobs <roy.jacobs@gmail.com>
2021-07-20 16:56:28 +02:00
github-actions[bot] 8d1c3d0d5a Version Packages 2021-07-15 09:19:25 +00:00
Ben Lambert 9393e1c955 Merge pull request #6460 from livetocode/master
fix OIDC Auth provider
2021-07-15 11:11:32 +02:00
Patrik Oldsberg d9ce823b00 packages: regenerate all API reports with warnings
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-15 02:05:46 +02:00
Morgan Martinet 4036d634a0 use original prompt default value to avoid a breaking change
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-07-14 17:01:38 -04:00
Morgan Martinet da70a0cc1b fix(oidc): do not use prompt=none which prevents the login dialog
Signed-off-by: Morgan Martinet <morgan@mmm-experts.com>
2021-07-13 18:52:02 -04:00
chicoribas 91a0095f10 Api Reporty
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 11:34:45 -03:00
chicoribas ad69eb72d5 Updating Api Report
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 09:32:36 -03:00
chicoribas 2aed3df2c9 Simpler microsoftDefaultSignInResolver
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 09:32:36 -03:00
chicoribas 8fc702c9c0 Removing microsoftDefaultSignInResolver export
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 09:32:36 -03:00
chicoribas 8bb82e0094 Api Report
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 09:32:36 -03:00
chicoribas 30a8a345e9 SignIn and Auth handlers for MS provider
Signed-off-by: chicoribas <chico.bribas@gmail.com>
2021-07-13 09:32:36 -03:00
Patrik Oldsberg 1118f33e4f Merge pull request #6433 from backstage/rugvip/report-all-the-things
root: bump api-extractor & friends + recreate API reports along with previously unsupported packages
2021-07-12 20:28:09 +02:00
Patrik Oldsberg 602b5b59bb packages: regenerate all API reports with prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-07-12 19:54:11 +02:00
blam 203d256d36 chore: reverting fs-extra bump, that seems to have broken all the installs
Signed-off-by: blam <ben@blam.sh>
2021-07-12 19:29:34 +02:00
github-actions[bot] de67704be9 Version Packages 2021-07-08 11:37:02 +00:00
Rogerio Angeliski 7a74046f16 docs: added generated files
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:41 -03:00
Rogerio Angeliski 93f8e8b423 Revert "docs: added generated files"
This reverts commit b2cefb34e0d4640cc5bb675d05d0ea906d74eec8.

Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:41 -03:00
Rogerio Angeliski 1cdc4ba0e2 docs: added generated files
Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
2021-07-07 08:58:40 -03:00
dependabot[bot] 613e46d234 chore(deps): bump fs-extra from 9.1.0 to 10.0.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 11:29:50 +00:00
github-actions[bot] 6e937b9fa6 Version Packages 2021-07-01 09:06:13 +00:00
Fredrik Adelöw 6ca29b66c8 Unbreak .well-known OIDC routes
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-25 21:31:29 +02:00
Fredrik Adelöw 5c2550a6d4 Merge pull request #6085 from backstage/changeset-release/master
Version Packages
2021-06-24 12:37:22 +02:00
github-actions[bot] 5a64fe7ea5 Version Packages 2021-06-24 09:58:38 +00:00
Fredrik Adelöw 8c9002e127 Merge pull request #6169 from backstage/orkohunter/better-error-if-auth-provider-misconfigured
auth: Show better error message if auth provider keys are undefined
2021-06-24 11:52:39 +02:00
Himanshu Mishra 686a740eb9 show better 404 message for unknown provider endpoints
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-24 11:37:49 +02:00
Himanshu Mishra e7b5cf888f remove unnecessary check for missing provider factory
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-24 11:32:57 +02:00
Himanshu Mishra dda7e862a2 remove the "catch-all" auth endpoint and register each separately
200: for properly registered auth providers
404 (with proper message): misconfigured
404 (plain): for unknown providers

Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-23 15:13:02 +02:00
dependabot[bot] d3b6c6c12a chore(deps): bump msw from 0.21.2 to 0.29.0
Bumps [msw](https://github.com/mswjs/msw) from 0.21.2 to 0.29.0.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v0.21.2...v0.29.0)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 04:45:44 +00:00
Himanshu Mishra d91ec5b1b0 auth: update language
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-22 20:19:58 +02:00
Himanshu Mishra 8e5e5ee46e auth: show better error if auth provider keys are missing
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-22 20:16:26 +02:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
blam 12942d16c4 chore: updating api-report
Signed-off-by: blam <ben@blam.sh>
2021-06-18 10:08:26 +02:00
blam 2d881016cc chore: dont export default auth provider
Signed-off-by: blam  <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
2021-06-18 10:08:26 +02:00
blam 90bd5ab9e7 chore: updating the api-docs as some PR's were merged after the api-docs PR merge that were not rebuilt
Signed-off-by: blam <ben@blam.sh>
2021-06-18 10:08:26 +02:00
Patrik Oldsberg 820de63018 Merge pull request #6076 from backstage/rugvip/allreports
scripts/api-extractor: create and check API reports for all(most) plugins
2021-06-17 15:46:11 +02:00
Ben Lambert 79a5fc65a8 Merge pull request #4532 from backstage/rugvip/authin
auth-backend: implement sign-in resolver and profile transform for google provider
2021-06-17 15:33:13 +02:00
Patrik Oldsberg d8d7226fce plugins: generate api reports
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-17 13:30:06 +02:00
github-actions[bot] 36e5a82e9b Version Packages 2021-06-17 08:08:44 +00:00
Patrik Oldsberg 1aa31f0afc auth-backend: add support for GitLab auth refresh
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-16 12:13:27 +02:00
blam f5f290f1c2 feat: update the public api instead of profileTransform it is AuthHandler
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-16 10:56:42 +02:00
blam 551c050e23 feat: actually export the googleSignInResovlers for use in apps
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-16 10:42:48 +02:00
blam 8adb6f6bcd feat: enable backwards compatability and write a simple test
Co-authored-by: Fredrik Adelöw <freben@users.noreply.github.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>

Signed-off-by: blam <ben@blam.sh>
2021-06-16 10:34:48 +02:00
Himanshu Mishra 7dd84f37f0 Apply suggestions from code review
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-06-15 13:12:39 +02:00
Himanshu Mishra a0949d5892 docs: Add docs explaining sign-in resolvers and profile transform
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra a848395e2b auth-backend: getEntityClaims make sure target is group kind
We are interested in the User isMemberOf Group relation. So this is just an additional check that the target is of Group kind.

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00
Himanshu Mishra 17a26e7ed3 auth-backend: Use stringifyEntityRef helper
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-06-15 13:12:39 +02:00