Merge pull request #1266 from spotify/mob/config-env

Auth Backend: read env config
This commit is contained in:
Raghunandan Balachandran
2020-06-12 14:53:14 +02:00
committed by GitHub
14 changed files with 437 additions and 228 deletions
@@ -57,7 +57,7 @@ class GithubAuth implements OAuthApi, SessionStateApi {
static create({
apiOrigin,
basePath,
environment = 'dev',
environment = 'development',
provider = DEFAULT_PROVIDER,
oauthRequestApi,
}: CreateOptions) {
@@ -66,7 +66,7 @@ class GoogleAuth
static create({
apiOrigin,
basePath,
environment = 'dev',
environment = 'development',
provider = DEFAULT_PROVIDER,
oauthRequestApi,
}: CreateOptions) {