tbmelabs / tbme-tv

An open source streaming application.
Other
0 stars 1 forks source link

add signup page. #47

Open bbortt opened 6 years ago

bbortt commented 6 years ago

new attempt of adding a signup page to the authorization server. a one-page design would be nice I think (together with login).

bbortt commented 6 years ago

maven-module: core-server/authorization-server location: src/main/webapp (copied to static by maven) url: /signup processing-url (POST): /signup/do-signup arguments (x-form): username, email, password, confirmation attention: csrf-token is required

url is variable.. a one-page design with the signin page (/login or /signin) can be combined but should run on a different url which leads to the isomorphic frontend.

backend-validation already exists and is preferred to frontend validation. just add a little debounce on inputs and validate them on the backend. take a look at the resource SignupController.java.

mirioeggmann commented 5 years ago

trying a new fronted framework: https://auth0.com/blog/vuejs2-authentication-tutorial/