openwisp / openwisp/openwisp-users

[feature] Allow to easily find out REST auth token

Open
#240 2 comments 0 reactions 1 assignee View on GitHub

@nemesifier is already working on this.

Since Jun 18, 2026.

enhancement
Dominant language
Python
Stars
179
Forks
96
Avg merge
13h 40m
Merged PRs (30d)
16

Description

We should add a way to easily find out the REST framework auth token of the user logged in the admin and document this.

I think we can do so by adding a menu item in the menu on the upper right corner which opens up when clicking on the username/name of the user, the menu item can be called "API auth token" and need to link to a new view which we are going to add.

The new view will create the rest auth token if the logged in user does not have one yet. The template will show this token in the UI in a text field which is easily copyable (ideally we would reuse the copyable JS logic in openwisp-utils).

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.