Msaters / mySocialMedia

using MERN stack, just a test playground to learn MERN
0 stars 0 forks source link

Adding Auth #1

Open Msaters opened 2 years ago

Msaters commented 2 years ago

adding authorization

Msaters commented 2 years ago

-make backend api for this -use jwt -let user sign in -let user log into their account -let user log out -make it secure and safe -start showing your blogs over others in other section

Msaters commented 2 years ago

no edit buttons on frontend if not your blogs authorization for editing check if you are trully the user

Msaters commented 2 years ago

refresh token

Msaters commented 2 years ago

zrobic osobny server do authoryzacji i zrobic tam request tokeny

Msaters commented 2 years ago

polaczyc authServer z serverem aplikacji tak zeby wszystkie authoryzacje szly na server z authoryzacjami

Msaters commented 2 years ago

when accessToken expiries genereate new with refresh token