Skip to content
This repository was archived by the owner on Jun 17, 2022. It is now read-only.

[SSO] Login - added launchSsoBrowser method #144

Merged
merged 3 commits into from
Aug 10, 2020

Conversation

vincentsalucci
Copy link
Member

Objective

Move code that launches a browser tab for SSO flow into the shared library

Code Changes

  • login.component.ts: Added launchSsoBrowser method. Cleaned up imports and adjusted constructor.

@vincentsalucci vincentsalucci added the enhancement New feature or request label Aug 7, 2020
@vincentsalucci vincentsalucci merged commit 7c3a9d6 into master Aug 10, 2020
@vincentsalucci vincentsalucci deleted the m-login-launch-sso branch August 10, 2020 13:38
@@ -37,7 +40,9 @@ export class LoginComponent implements OnInit {

constructor(protected authService: AuthService, protected router: Router,
protected platformUtilsService: PlatformUtilsService, protected i18nService: I18nService,
private storageService: StorageService, protected stateService: StorageService) { }
protected stateService: StorageService, protected environmentService: EnvironmentService,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vincentsalucci is this intended to be have two instances of a StorageService? Seems like it should be stateService: StateService ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also wondering if the CryptoFunctionService needs to get added to the index.ts in the abstractions folder?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

( went ahead and threw together a PR for this stuff in case it is needed )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants