Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for API keys #2245

Merged
merged 2 commits into from
Jan 23, 2022
Merged

Add support for API keys #2245

merged 2 commits into from
Jan 23, 2022

Conversation

jjlin
Copy link
Contributor

@jjlin jjlin commented Jan 19, 2022

This is mainly useful for CLI-based login automation.

Upstream PR: bitwarden/server#981
Upstream docs: https://bitwarden.com/help/personal-api-key/

@jjlin jjlin marked this pull request as ready for review January 21, 2022 06:02
src/api/identity.rs Outdated Show resolved Hide resolved
@jjlin jjlin force-pushed the api-key branch 2 times, most recently from f99b0af to 4668485 Compare January 22, 2022 06:41
This is mainly useful for CLI-based login automation.
API key logins use a scope of `api`, not `api offline_access`. Since
`offline_access` is not requested, no `refresh_token` is returned either.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants