-
Notifications
You must be signed in to change notification settings - Fork 3.9k
feat(authentication): added authentication sync api #8596
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
Open
sahkal
wants to merge
64
commits into
main
Choose a base branch
from
9947-add-authentication-sync-api
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…y/hyperswitch into 9455-add-authentication-create-api
…thentication-create-api
…y/hyperswitch into 9948-flatten-existing-core-authentication-function-to-remove-out-of-payments-context
…le-from-acquirer_config' of github.com:juspay/hyperswitch into 9944-add-eligibility-pre_authentication-api
…com:juspay/hyperswitch into 9945-add-authentication----authenticate-api
…com:juspay/hyperswitch into 9945-add-authentication----authenticate-api
Changed Files
|
Base automatically changed from
9945-add-authentication----authenticate-api
to
main
July 25, 2025 09:47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-feature
Category: Feature request or enhancement
M-api-contract-changes
Metadata: This PR involves API contract changes
M-database-changes
Metadata: This PR involves database schema changes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
The main feature is the addition of a new authentication synchronization API that allows syncing authentication data between systems.
API Contract Changes
Files Modified
Core Authentication Logic
crates/router/src/core/unified_authentication_service.rs
- Main authentication service logiccrates/router/src/core/authentication/utils.rs
- Authentication utilitiescrates/router/src/services/authentication.rs
- Authentication servicesAPI Models & Routes
crates/api_models/src/authentication.rs
- Authentication API modelscrates/router/src/routes/authentication.rs
- Authentication route handlerscrates/router/src/routes/app.rs
- App routing configurationcrates/router/src/routes/lock_utils.rs
- Lock utilities for routesDomain Models
crates/hyperswitch_domain_models/src/authentication.rs
- Authentication domain modelscrates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs
- Request types for unified auth serviceConnector Integration
crates/hyperswitch_connectors/src/connectors/unified_authentication_service.rs
- Unified auth service connectorcrates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs
- Data transformerscrates/hyperswitch_connectors/src/connectors/netcetera/transformers.rs
- Netcetera connector transformersConfiguration & Documentation
config/development.toml
- Development configuration updatesapi-reference/v1/openapi_spec_v1.json
- Updated OpenAPI v1 specificationapi-reference/v2/openapi_spec_v2.json
- Updated OpenAPI v2 specificationTechnical Implementation Details
Integration Points
How did you test it?
Try the flow with both Friction and Frictionless card
Setup Netcetera in MCA :
Setup Profile acquirer Config
Update Business Profile
Do Authentication Create :
Do Authentication Eligibility
RESPONSE
Authentication API
Response
Sync
Response
Checklist
cargo +nightly fmt --all
cargo clippy