manosim / manosim/django-rest-framework-docs

Live API Endpoints Beta - Authorization: JWT 404 problem in DRFD

Open
#157 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
641
Forks
178
PR merge metrics
No merged PRs in 30d

Description

I know that Live API Endpoints is Beta, but I noticed some issue that GET/POST by send button giving "Status: not found" and "null" with JWT. My endpoints working corectly by curl, or without authorization in DRDF (then result is corect in Live API Endpoints Beta).
The request with JWT to the server is corect in JS debuger console and network communication around JWT data token.

Other - looks that Add Extra Fields not working.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing the GET/POST failure from the Live API Endpoints Beta send button with JWT, comparing it with the working curl request and the request without authorization. Investigate the related Add Extra Fields behavior; done means authorized requests no longer return 404/null and the extra fields work as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, javascript, python
Domain
api, authentication, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.