Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSO] - [PR 1] - Rewrite password login to use PasswordLoginMethod #427

Closed

Conversation

MidhunSureshR
Copy link
Contributor

No description provided.

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
Copy link
Contributor

@bwindels bwindels left a comment

Choose a reason for hiding this comment

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

Looks great, just need to pass down logging

}

async login(hsApi, deviceName) {
return this._platform.logger.run("passwordLogin", async log =>
Copy link
Contributor

Choose a reason for hiding this comment

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

probably better to pass down the log item already in progress in startWithLogin, rather than to start a new log operation. The log argument is usually passed down as the last argument btw. Passing it down makes the /password request being logged as a child of the ongoing operation, I can show you what that looks like in the log viewer.

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
@bwindels
Copy link
Contributor

Obsoleted by #453

@bwindels bwindels closed this Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants