Skip to content

Feat/add ping idp provider#151

Merged
jadiaconu merged 15 commits into
mainfrom
feat/add-ping-idp-provider
Jan 26, 2026
Merged

Feat/add ping idp provider#151
jadiaconu merged 15 commits into
mainfrom
feat/add-ping-idp-provider

Conversation

@jadiaconu

Copy link
Copy Markdown
Collaborator

Description

Add Ping Identity as an IdP.

Type of Change

  • Bugfix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

Copilot AI review requested due to automatic review settings January 13, 2026 15:58
@github-actions

github-actions Bot commented Jan 13, 2026

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see actions/dependency-review-action/issues/938.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds Ping Identity (PingOne) as a new Identity Provider (IdP) option to the identity service. The implementation includes backend API changes via protobuf definitions, Go implementation with HTTP client integration for PingOne APIs, frontend UI components for configuration, comprehensive test coverage, and documentation.

Changes:

  • Added IDP_TYPE_PING enum value and PingIdpSettings message to protocol buffers
  • Implemented PingIdp struct in Go with methods for testing settings, creating/deleting client credentials
  • Added frontend form inputs, validation schemas, UI components, and Ping Identity logo
  • Included comprehensive unit tests for backend implementation and frontend schema validation
  • Added detailed documentation for configuring Ping Identity as an IdP

Reviewed changes

Copilot reviewed 55 out of 58 changed files in this pull request and generated no comments.

Show a summary per file
File Description
backend/api/spec/proto/agntcy/identity/service/v1alpha1/settings.proto Added PingIdpSettings message and IDP_TYPE_PING enum value
backend/internal/core/idp/ping_idp.go Core implementation of Ping Identity provider with OAuth2 client credentials flow
backend/internal/core/idp/ping_idp_test.go Comprehensive unit tests for Ping IdP implementation
backend/internal/core/idp/idp_factory.go Registered Ping IdP in factory pattern
backend/internal/core/settings/types/types.go Added PingIdpSettings type and IDP_TYPE_PING constant
backend/internal/core/settings/postgres/models.go Database models for persisting Ping IdP settings with encryption
frontend/src/schemas/identity-provider-schema.ts Validation schema for Ping IdP configuration fields
frontend/src/components/identity-provider/create/form/identity-provider-form.tsx Form UI for Ping IdP configuration
frontend/src/assets/ping.svg Ping Identity logo asset
docs/docs/idp.md Documentation for Ping Identity setup and configuration
scripts/proto/docker/Dockerfile.buf Updated Go version in Docker build

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jadiaconu jadiaconu force-pushed the feat/add-ping-idp-provider branch from cc0f7fe to 84803f4 Compare January 14, 2026 12:43
Copilot AI review requested due to automatic review settings January 14, 2026 12:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 54 out of 57 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 15, 2026 09:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 56 out of 59 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/internal/core/idp/ping_idp.go
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
@jadiaconu jadiaconu force-pushed the feat/add-ping-idp-provider branch from 367539c to ced2b53 Compare January 20, 2026 14:02
Copilot AI review requested due to automatic review settings January 20, 2026 14:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 56 out of 59 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread frontend/src/schemas/identity-provider-schema.ts
Comment on lines +40 to +42
if settings != nil && settings.Region != "" &&
strings.Contains(pingRegions, settings.Region) {
region = settings.Region

Copilot AI Jan 20, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The region validation using strings.Contains is unsafe. For example, the input "comeup" would incorrectly match because it contains "com", or "eu" would match against "com.au". Use a proper validation approach with an exact match against allowed regions.

Copilot uses AI. Check for mistakes.
Comment thread backend/internal/core/idp/ping_idp.go Outdated
Comment thread backend/internal/core/idp/ping_idp.go Outdated
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Copilot AI review requested due to automatic review settings January 20, 2026 14:26
@jadiaconu jadiaconu marked this pull request as ready for review January 20, 2026 14:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 56 out of 58 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/docs/idp.md Outdated
Comment thread backend/internal/core/idp/ping_idp.go

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 56 out of 58 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/internal/core/idp/ping_idp.go
Comment thread backend/internal/bff/settings_service.go
@agntcy agntcy deleted a comment from Copilot AI Jan 22, 2026
@agntcy agntcy deleted a comment from Copilot AI Jan 22, 2026

@rafaelsilva29 rafaelsilva29 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
@jadiaconu jadiaconu merged commit 0368c48 into main Jan 26, 2026
8 of 9 checks passed
@jadiaconu jadiaconu deleted the feat/add-ping-idp-provider branch January 26, 2026 09:30
@jadiaconu jadiaconu moved this to Done in AGNTCY Project Jan 29, 2026
@jadiaconu jadiaconu moved this from Done to Pending review in AGNTCY Project Jan 29, 2026
@jadiaconu jadiaconu moved this from Pending review to Done in AGNTCY Project Jan 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants