Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(ui): persist PAT between sessions for gitingest.com #291

Open
Assignees
Labels
discussionCommunity talk on a given topic stale suggestionNew feature or request
@cyclotruc

Description

Add Persistence for Personal Access Token (PAT) in Frontend

📝 Problem

Currently, when users enter their GitHub Personal Access Token (PAT) to access private repositories, the token is not persisted between browser sessions. Users have to re-enter their PAT every time they visit the site or refresh the page.

This creates friction for users who frequently work with private repositories and need to enter their token repeatedly.

🎯 Desired Outcome

Users should have the option to persist their PAT locally so they don't need to re-enter it on every visit, while maintaining appropriate security considerations.

🤔 Discussion Points

Some questions to consider when implementing this feature:

Storage Options:

  • Should we use localStorage, sessionStorage, or something else?
  • What are the security trade-offs of different approaches?

User Experience:

  • Should persistence be opt-in or opt-out?
  • How do we inform users about the security implications?
  • Should there be an easy way to clear saved tokens?

Security Considerations:

  • How do we balance convenience with security?
  • Should we implement any form of token obfuscation?
  • What warnings or disclaimers should we show users?

Implementation Scope:

  • Should this be a simple browser storage solution?
  • Are there other authentication patterns we should consider?

Feel free to comment with your thoughts on the best approach!

Metadata

Metadata

Labels

discussionCommunity talk on a given topic stale suggestionNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /