Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jonyoder
Copy link
Contributor

@jonyoder jonyoder commented May 7, 2025

Connected to #744.

This adds the omitempty attribute to the client assertion fields used for device authorization. These fields are encoded as form values when calling the device/authorize API. When these fields are empty and don't include the omitempty attribute, they're being encoded as empty/blank values which can cause issues with some providers, e.g., Okta.

Please let me know if there's anything else I can do to help. I didn't see any relevant unit tests to update.

  • I am happy with the code
  • Short description of the feature/issue is added in the pr description
  • PR is linked to the corresponding user story
  • Acceptance criteria are met
  • All open todos and follow ups are defined in a new ticket and justified
  • Deviations from the acceptance criteria and design are agreed with the PO and documented.
  • No debug or dead code
  • My code has no repetitions
  • Critical parts are tested automatically
  • Where possible E2E tests are implemented
  • Documentation/examples are up-to-date
  • All non-functional requirements are met
  • Functionality of the acceptance criteria is checked manually on the dev system.

@hifabienne hifabienne moved this to πŸ“‹ Sprint Backlog in Product Management May 7, 2025
@muhlemmer muhlemmer self-requested a review May 8, 2025 09:34
@hifabienne hifabienne linked an issue Jun 17, 2025 that may be closed by this pull request
2 tasks
@jonyoder jonyoder force-pushed the omit_empty_client_creds_fields branch from 855adc0 to 46cabe4 Compare June 18, 2025 15:56
@muhlemmer muhlemmer enabled auto-merge (squash) July 2, 2025 12:33
@muhlemmer muhlemmer merged commit 71b7500 into zitadel:main Jul 2, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from πŸ“‹ Sprint Backlog to βœ… Done in Product Management Jul 2, 2025
@muhlemmer
Copy link
Collaborator

hey @jonyoder thanks for the contribution.

If you'd like to have a small gift in return, please send us a mail to [email protected]. We will send you a form with questions about your address and shirt size.

@github-actions
Copy link

github-actions bot commented Jul 2, 2025

πŸŽ‰ This PR is included in version 3.39.1 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: βœ… Done

Development

Successfully merging this pull request may close these issues.

[Bug]: Okta Device Authorization Failure due to Empty Assertion Fields

3 participants