Commit Graph

163 Commits

Author SHA1 Message Date
Patrik Oldsberg 62222b543c config-loader,backend-common: refactor config loading to pass in path and use common util for backend 2020-08-03 21:24:44 +02:00
Patrik Oldsberg f1b96fe8ef Merge pull request #1783 from AmericanAirlines/ghe
Add configuration for github enterprise
2020-07-30 17:19:38 +02:00
Patrik Oldsberg 64239b9bb3 Merge pull request #1789 from GoWind/remove-scope-check
(auth-backend) Bugfix: Do not throw Exception if scopes dont exist. Refs #1786
2020-07-30 17:17:16 +02:00
Paul Pacheco b625b19978 use cammel case 2020-07-30 09:50:08 -05:00
Paul Pacheco 5cde7069cf Pass github enterprise base url, derive urls for authentication 2020-07-30 09:33:12 -05:00
Govindarajan Nagarajan 448767712b (auth-backend) Bugfix: Do not throw Exception if scopes dont exist. Refs #1786
Currently, the OAuthProvider library in `auth-backend` throws an
Exception if scopes are missing in the `start` (initial) request
in the Authorization flow. Scopes are an optional parameter as per the
spec, so if scopes are empty, simply forward the empty scopes instead of
throwing an Exception
2020-07-30 15:16:54 +02:00
Patrik Oldsberg 54610c9ba4 auth-backend: set SameSite=Lax for oauth flow cookies 2020-07-30 12:37:02 +02:00
Paul Pacheco c0feeecc29 Add documentation 2020-07-30 04:53:35 -05:00
Paul Pacheco c485f7375e Add configuration for github enterprise 2020-07-30 04:43:02 -05:00
Patrik Oldsberg 1baccd1304 deps: bump ts, express + friends and fix type issue 2020-07-27 16:06:11 +02:00
Raghunandan 19071023cd fix type issues 2020-07-27 09:07:27 +02:00
Raghunandan 60d3ecc695 Read auth providers in backend and frontend from app-config yaml 2020-07-27 09:07:25 +02:00
Patrik Oldsberg a852c2f141 config,config-loader: fix lagging versions 2020-07-24 11:38:45 +02:00
Ivan Shmidt bcd7b2661a v0.1.1-alpha.16 2020-07-24 03:44:39 +02:00
Ivan Shmidt 415bdf42e1 v0.1.1-alpha.15 2020-07-22 13:44:33 +02:00
Patrik Oldsberg a2955532cc auth-backend: tweak error messages 2020-07-17 11:00:44 +02:00
Patrik Oldsberg af2c948c86 auth-backend: couple of improvements to error message clarity 2020-07-15 20:51:08 +02:00
Bilawal Hameed 491d1b70e1 Bump to v0.1.1-alpha.14 2020-07-15 11:49:02 +02:00
jaime-talkdesk 3217e85c85 Adds Github to signin page providers (#1590) 2020-07-15 11:20:20 +02:00
Patrik Oldsberg 10d1e141b7 Merge pull request #1504 from danztran/fix_hardcoded_url
Replace hardcoded base urls
2020-07-07 14:52:49 +02:00
Patrik Oldsberg 6fdcc9f59a v0.1.1-alpha.13 2020-07-07 13:16:30 +02:00
Patrik Oldsberg a854568e44 Merge pull request #1500 from timurista/timurista
Add gitlab sign in method #343
2020-07-06 19:21:44 +02:00
Tim Urista 4f7e2de43c add backstage identity in test 2020-07-06 10:01:19 -07:00
Tim Urista fe8aa15473 add email for backstage profile 2020-07-06 09:47:19 -07:00
danztran a8b78350e2 rebase master 2020-07-03 16:38:03 +07:00
danztran 9472493ff1 extract app origin from base url 2020-07-03 16:34:52 +07:00
danztran 87d3922311 replace appUrl with appOrigin 2020-07-03 16:34:52 +07:00
danztran 1e29cbea0a remove TODO 2020-07-03 16:34:52 +07:00
danztran c371e45067 replace hardcoded url 2020-07-03 16:34:52 +07:00
Nikita Dudnik 29e442cbc9 Merge pull request #1512 from spotify/freben/oauth2-custom-identity-provider
feat(auth): implement generic oauth2 provider
2020-07-03 10:21:06 +02:00
Fredrik Adelöw 7389f326d9 chore: add import/newline-after-import lint rule 2020-07-02 11:25:04 +02:00
Fredrik Adelöw 77fe78370b feat(auth): implement generic oauth2 provider 2020-07-02 09:19:02 +02:00
Fredrik Adelöw 7a43c8ed34 Merge pull request #1478 from danztran/gitlab_auth
Add Gitlab Auth #343
2020-06-30 13:39:24 +02:00
Raghunandan 4f3e537c3d Persist scopes in Github provider and add it to the auth response. Fix serialization for Set type in locaStorage. 2020-06-30 09:49:08 +02:00
danztran fba2c8c3b2 plugin/auth-backend: fix test on passport strategy helper 2020-06-29 12:03:51 +07:00
danztran c1806a0e2d plugin/auth-backend: add test for gitlab provider 2020-06-29 11:43:17 +07:00
danztran eeaf25fce8 plugin/auth-backend: add gitlab types 2020-06-29 10:55:54 +07:00
danztran 9fca100dc7 plugin/auth-backend: update docs 2020-06-28 23:21:37 +07:00
danztran f524bbdea2 plugin/auth-backend: add gitlab oauth 2020-06-28 22:24:47 +07:00
Patrik Oldsberg 93eeda55c6 Merge pull request #1458 from spotify/mob/pack
cli: add backend:build-image command and use in backend
2020-06-26 12:34:33 +02:00
Nicholas Pirrello d3a990ac04 Add prompt: consent. Adjust unused types for StateStore 2020-06-25 19:42:32 -04:00
Nicholas Pirrello 72387eb720 Fix linting and tsc issues 2020-06-25 18:28:51 -04:00
Nicholas Pirrello 144a3b9294 Fix build and add okta oauth2 scope normalization 2020-06-25 18:20:13 -04:00
Patrik Oldsberg d49e05e9e7 plugins/auth-backend: include migrations in published package
Co-authored-by: Ivan Shmidt <bahoc47@gmail.com>
2020-06-25 18:08:47 +02:00
Nicholas Pirrello 515d64e40a Add okta integration 2020-06-24 22:55:14 -04:00
Patrik Oldsberg cc0e6b0d30 auth-backend: leave it to the providers to figure out the backstage identity 2020-06-24 11:37:30 +02:00
Patrik Oldsberg 5ff8582eb6 Merge pull request #1422 from spotify/mob/auth-std-profile
auth: refactor to include backstage identity and use more explicit types
2020-06-24 10:40:28 +02:00
Patrik Oldsberg b709889fb5 auth-backend: clean up comments + fix getting email from profile 2020-06-24 10:24:06 +02:00
Patrik Oldsberg dcaee07754 v0.1.1-alpha.12 2020-06-23 22:25:25 +02:00
Patrik Oldsberg 4d94f4cbb4 packages: publish entire dist folder 2020-06-23 22:24:55 +02:00