paulvanbladel / aurelia-auth

:key: Authentication plugin for aurelia
200 stars 74 forks source link

AuthService.signup(...) seems overly restrictive #132

Closed fedoranimus closed 8 years ago

fedoranimus commented 8 years ago

It seems odd to me that AuthService.signup(displayName, email, password) has such restrictive parameters.

Is there a strong reason behind this? Are these parameters easily customizable?

paulvanbladel commented 8 years ago

Yeah, the signup method is just there for making the picture complete, but signup is not part of oauth/openidconnect. So, there is few add value. Simply provide your own version of signup matching your server side needs. The real added value of aurelia-auth is in the oauth processing, token exchange and stuff like that. Note that when your first param in the signup method is an object, you have full degrees of freedom.