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

Consumer key change "force" mode #11

Merged
merged 1 commit into from
Oct 18, 2022

Conversation

jessepeterson
Copy link
Member

3edfc1f introduced a change to try and protect from accidentally overwriting the incorrect DEP tokens by rejecting a mismatched consumer key for #1. However, it had a bug, reported in #10 whereby if no initial token existed, saving a new one would fail. Further, there are legitimate cases where a consumer key can change, so this is a workflow we need to support. To do that we introduce the "force" parameter in this PR that can be specified when saving tokens to bypass the matching consumer key check. See the modified docs for usage. We also fixed the initial loading situation reported in #10.

Resolves #1.
Resolves #7.
Resolves #10.

@jessepeterson jessepeterson merged commit 7c9dff3 into micromdm:main Oct 18, 2022
@jessepeterson jessepeterson deleted the ck-force branch March 13, 2024 18:28
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.

Consider ability to force CK change Verify matching consumer key
1 participant