influxdata / influxdata/influxdb-client-python

How to create a temporary token for influxdb?

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

Nobody has claimed this yet.

Dominant language
Python
Stars
793
Forks
186
Avg merge
3h 2m
Merged PRs (30d)
1

Description

I'd like the frontend to call my backend API to get a temporary token, so that the frontend can directly access the linuxDB. For security, I want this token to be temporary.

I noticed[here](https://github.com/influxdata/influxdb-client-python#proxy-configuration) said:

![image](https://user-images.githubusercontent.com/9018733/223715411-6f0fa3d7-dd5a-4083-819b-db17f98ae526.png)

But he doesn't seem to work. The token is still can be used in 60 min later.

Contributor guide

No contributing guide indexed for this repository

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

Start by reading the linked proxy configuration documentation and tracing how temporary tokens are created and checked for expiration. Reproduce whether the token remains usable after 60 minutes; done means the intended temporary-token behavior is confirmed or the relevant expiration problem is documented with a clear fix location.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, authentication, security
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.