tensorflow / tensorflow/tensorboard

Unblock delegated tb.dev authentication from Cloud

Open
#4,845 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tbdev
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

Customer friction:

Users who are launching runs from a hosted computation solution, such as Google Cloud, encounter significant friction in the existing auth flow, where the user must follow a URL and manually copy and paste a code via stdin on the uploading machine. While it's possible for the user to clone their personal auth token to the filesystem of the upload machine, there is a security risk wherein any user in possession of that token can then control that users' tensorboard data, and there is no recourse to revoke that token.

Proposed solution:

Deliver an API Key-style auth approach where the user may generate API keys, or revoke their access. See https://cloud.google.com/endpoints/docs/openapi/when-why-api-key for details.

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

Start by reviewing the existing authentication flow and the linked Google Cloud API-key guidance. Define how users generate and revoke keys for hosted uploads, replacing the manual stdin code flow while avoiding unrestricted personal-token access. Done means the proposed API-key workflow addresses both cloud launches and token revocation.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp
Domain
authentication, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.