Skip to content

feat(auth): prefill authentication prompts with existing credentials#2020

Merged
tusharmath merged 9 commits intomainfrom
feat/prefill-login-credentials
Nov 29, 2025
Merged

feat(auth): prefill authentication prompts with existing credentials#2020
tusharmath merged 9 commits intomainfrom
feat/prefill-login-credentials

Conversation

@amitksingh1490
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Nov 28, 2025
#[derive(Debug, Clone)]
pub struct ApiKeyRequest {
pub required_params: Vec<URLParam>,
pub existing_credential: Option<super::AuthCredential>,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub existing_credential: Option<super::AuthCredential>,
pub existing_credential: HashMap<URLParam, URLParamValue>,

May be create a new type called URLParameters for HashMap<URLParam, URLParamValue>

#[derive(Debug, Clone)]
pub struct ApiKeyRequest {
pub required_params: Vec<URLParam>,
pub existing_credential: Option<URLParameters>,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub existing_credential: Option<URLParameters>,
pub existing_params: Option<URLParameters>,

@tusharmath tusharmath enabled auto-merge (squash) November 29, 2025 06:11
@tusharmath tusharmath merged commit 6c5c083 into main Nov 29, 2025
9 checks passed
@tusharmath tusharmath deleted the feat/prefill-login-credentials branch November 29, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants