Skip to content

Store oauth_refresh_token #1463

@hickford

Description

@hickford

It would be useful to store Git credential attribute oauth_refresh_token

Currently GitLabHostProvider, BitBucketHostProvider and GenericHostProvider use a hacky workaround to save oauth_refresh_token as the password for a separate service:

// store refresh token under a separate service
Context.CredentialStore.AddOrUpdate(refreshService, oAuthCredential.Account, oAuthCredential.RefreshToken);

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth:oauthSpecific to OAuth2 authenticationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions