Skip to content

Commit

Permalink
Feature/quay login fix (#17)
Browse files Browse the repository at this point in the history
* Fix typo for quay.io blocking linking
  • Loading branch information
denis-yuen authored Jun 5, 2017
1 parent 4a2862a commit 6e13595
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class Dockstore {
static readonly GITHUB_SCOPE = 'read:org';
static readonly QUAYIO_AUTH_URL = 'https://quay.io/oauth/authorize';
static readonly QUAYIO_REDIRECT_URI = 'http://localhost:4200/auth/quay.io';
static readonly QUAYIO_REDIRECT_URI = 'http://localhost:4200/auth/quay';
static readonly QUAYIO_SCOPE = 'repo:read,user:read';
static readonly QUAYIO_CLIENT_ID = '';
Expand Down
2 changes: 1 addition & 1 deletion src/app/loginComponents/auth/auth.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="container">
<div class="absCenter">
<img src="/src/assets/images/dockstore/loading.gif">
<img src="/assets/images/dockstore/loading.gif">
</div>
</div>
2 changes: 1 addition & 1 deletion src/app/loginComponents/auth/auth.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class AuthComponent implements OnInit, OnDestroy {
switch (provider) {
case 'github':
return addGitHubToken;
case 'quay.io':
case 'quay':
return addQuayToken;
case 'bitbucket':
return addBitbucketToken;
Expand Down
4 changes: 2 additions & 2 deletions src/app/shared/dockstore.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ export class Dockstore {

static readonly GITHUB_CLIENT_ID = 'fill this in';
static readonly GITHUB_AUTH_URL = 'https://github.com/login/oauth/authorize';
static readonly GITHUB_REDIRECT_URI = 'http://fill this in:8080/auth/tokens/github.com';
static readonly GITHUB_REDIRECT_URI = 'http://fill this in:4200/auth/tokens/github';
static readonly GITHUB_SCOPE = 'user,user:email';

static readonly QUAYIO_AUTH_URL = 'https://quay.io/oauth/authorize';
static readonly QUAYIO_REDIRECT_URI = 'http://fill this in:4200/auth/quay.io';
static readonly QUAYIO_REDIRECT_URI = 'http://fill this in:4200/auth/quay';
static readonly QUAYIO_SCOPE = 'repo:read,user:read';
static readonly QUAYIO_CLIENT_ID = 'fill this in';

Expand Down

0 comments on commit 6e13595

Please sign in to comment.