Closed abhishek97 closed 6 years ago
Done #5 @abhishek97 Pls Review
@abhishek97 Figured it out, thanks a lot :D
One issue though, after logging in, when I click on the questions tab it logs me out of the session. I can see the request logging in the console, it calls api/logout
This is after I added a question in the database myself
@VibhorCodecianGupta Since upsert
is performed on every login with oneauth, you must manually change the entry in DB to ADMIN
once you log in.
You will be logged out if you receive a 401 from api, so a USER
trying to access protected resource will log him out on the frontend.
@VibhorCodecianGupta Please open a separate issue if you still can't run this.
The backend (https://github.com/coding-blocks/trouble-maker) response is paginated by default. So we need a searchbox to filter results at
/questions
, You can use thefilter
query param for this, refer to backend code/JSONAPI spec for details.