Skip to content

[$200] Create vanilla account for any unknown user #57

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

Closed
jmgasper opened this issue Oct 2, 2020 · 9 comments
Closed

[$200] Create vanilla account for any unknown user #57

jmgasper opened this issue Oct 2, 2020 · 9 comments

Comments

@jmgasper
Copy link
Collaborator

jmgasper commented Oct 2, 2020

@atelomycterus - One thing we need to add is the ability to create a Vanilla account for any unknown users. This applies to:

  • Challenge forum processor messages for registration with an unknown user
  • Login requests for a new user from the Vanilla site
  • Any other areas that make sense

Screen Shot 2020-10-02 at 11 48 53

@jmgasper
Copy link
Collaborator Author

jmgasper commented Oct 2, 2020

Contest https://www.topcoder.com/challenges/30144383 has been created for this ticket.

This is an automated message for ghostar via Topcoder X

@jmgasper
Copy link
Collaborator Author

jmgasper commented Oct 2, 2020

Contest https://www.topcoder.com/challenges/30144383 has been updated - it has been assigned to obog.

This is an automated message for ghostar via Topcoder X

@atelomycterus
Copy link
Collaborator

@jmgasper What about the 'register' link? Should we redirect User to the same url which is used for 'Sign in' link?

Now it displays the registration form:
image

@jmgasper
Copy link
Collaborator Author

jmgasper commented Oct 2, 2020

@atelomycterus - Can we just redirect to the Topcoder sign up page? https://www.topcoder-dev.com/user-selection/

@atelomycterus
Copy link
Collaborator

@jmgasper Yes, sure.

@atelomycterus
Copy link
Collaborator

atelomycterus commented Oct 2, 2020

@jmgasper

Disable/enable Topcoder plugin to set RegisterUrl in DB.

New user

Vanilla User Required fields: email, name, password and roles:
name - Username's claim
email - PRS256/HS256 payload has the 'email' claim
passoword - random generated
roles - Member

Testing in Topcoder Plugin

Vanilla has some validation rules. Any errors are displayed in debug bar :
image

Settings

image

@jmgasper
Copy link
Collaborator Author

jmgasper commented Oct 3, 2020

Thanks - I've deployed this, and it seems fine.

@atelomycterus
Copy link
Collaborator

@jmgasper

Challenge forum processor messages for registration with an unknown user

Implemented in topcoder-platform/challenge-forum-processor#31

@jmgasper
Copy link
Collaborator Author

jmgasper commented Oct 6, 2020

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30144383

This is an automated message for ghostar via Topcoder X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants