mcab / flightplan

Front end for Bat House SDP
GNU General Public License v3.0
0 stars 1 forks source link

Authenticate against the server #24

Closed mcab closed 5 years ago

mcab commented 5 years ago

Need to implement authentication & token passing in order to validate against accessing the API.

valid user create

mcab commented 5 years ago

There's a lot of cruft still there in the code, that will get removed in future commits.

What's nice is that we have local validation (from Vuelidate), server validation passed (from Vuex), and at least a creation event that we can then redirect from.

mcab commented 5 years ago

signup and login process

We can sign up and login.

I have also made a litany of people (29!) just from this alone.

mcab commented 5 years ago

saner toasts

We let the store generate the toast information, while the components just have the job of displaying said information now.

We also store the auth_token behind the scenes; it's time to now pass that with the Authorization header each time.

mcab commented 5 years ago

login ability

It works.