Skip to content

Conversation

@ckeif-duo
Copy link
Contributor

Updates references to admin/v2/integrations to admin/v3/integrations. The v3 version of the endpoints adds a small breaking change to the integrations fields.

Description

Updates references to admin/v2/integrations to admin/v3/integrations and adds handling for the new user_access field on create/update.

Motivation and Context

The v3 endpoints add a new user_access field and changes the behavior of groups_allowed.

Previously the groups_allowed field by itself determined which users could authenticate with the application as described here. Now a third state has been added which allows no users to authenticate.

Because of that, the user_access field has been added to express this more cleanly, and groups_allowed can only be provided if user_access === "PERMITTED_GROUPS".

How Has This Been Tested?

Local test (sorry for blurry video, had to export as 480p to upload :))
https://github.com/user-attachments/assets/33a82208-c100-4ae2-ae7b-3ea594f2a12e

Test Script
https://gist.github.com/ckeif-duo/ae530de40a61ed9ce53af38b9478faf0

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@AaronAtDuo AaronAtDuo merged commit 412b390 into duosecurity:master Feb 11, 2025
5 checks passed
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.

2 participants