Open helenzhou6 opened 6 years ago
Relate #64
As discussed, could have a stackMatch gitHub profile linked to foundersandcoders, and use that for the OAuth Application as well as being able to use it for testing (put login detail in .env file and then use .send to get to authorised routes).
.env
.send
Resources to check out: https://medium.com/@juha.a.hytonen/testing-authenticated-requests-with-supertest-325ccf47c2bb https://medium.com/@bill_broughton/testing-with-authenticated-routes-in-express-6fa9c4c335ca
Relate #64
As discussed, could have a stackMatch gitHub profile linked to foundersandcoders, and use that for the OAuth Application as well as being able to use it for testing (put login detail in
.env
file and then use.send
to get to authorised routes).Resources to check out: https://medium.com/@juha.a.hytonen/testing-authenticated-requests-with-supertest-325ccf47c2bb https://medium.com/@bill_broughton/testing-with-authenticated-routes-in-express-6fa9c4c335ca