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

Implementing registering user on first SSO #75

Merged
merged 6 commits into from
Jul 11, 2024
Merged

Implementing registering user on first SSO #75

merged 6 commits into from
Jul 11, 2024

Conversation

EduKav1813
Copy link
Collaborator

@EduKav1813 EduKav1813 commented Jul 11, 2024

Fixes #48

@EduKav1813 EduKav1813 requested a review from not7cd July 11, 2024 10:52
@EduKav1813 EduKav1813 self-assigned this Jul 11, 2024
@EduKav1813 EduKav1813 requested a review from not7cd July 11, 2024 11:37
@EduKav1813
Copy link
Collaborator Author

Implemented registering user via SSO, where they will have no password and will be redirected back to SSO on regular login attempt

@EduKav1813 EduKav1813 requested a review from not7cd July 11, 2024 13:25
Copy link
Contributor

@not7cd not7cd left a comment

Choose a reason for hiding this comment

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

I missed this else statement last time.

@EduKav1813 EduKav1813 requested a review from not7cd July 11, 2024 15:55
@EduKav1813 EduKav1813 linked an issue Jul 11, 2024 that may be closed by this pull request

if user.auth(request.form["password"]) is True:
if user.is_sso:
# User created via sso -> redirect to sso login
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: Your code is self describing. Those comments are redundant.

@EduKav1813 EduKav1813 merged commit 94f3a87 into hspsh:master Jul 11, 2024
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.

create new user when using SSO
2 participants