bounswe / bounswe2018group9

Actopus - an activity social octopus
14 stars 6 forks source link

Change authentication stages #406

Closed gumityolcu closed 5 years ago

gumityolcu commented 5 years ago

Endpoints in files auth.js, index.js, search.js and upload.js don't require JWT authentication.

POST endpoint for adding media to events doesn't require authentication because i think it would be considerably reasonable to do that.

GET endpoint for getting attendance info requires authentication because it would be reasonably inconsiderate not to do that.

Other than these exceptions, all PUT, DELETE and POST endpoints require authentication whereas no GET endpoint does.

okyksl commented 5 years ago

@nazmicancalik

okyksl commented 5 years ago

We will integrate changes first to the staging, then to master.