Skip to content

Add start_digital_credential_request - #59

Closed
Calebhino wants to merge 2 commits into
mainfrom
calebion/dc-api-request
Closed

Calebhino wants to merge 2 commits into
mainfrom
calebion/dc-api-request

Conversation

@Calebhino

Copy link
Copy Markdown

Breaking Changes

None.

New Features

  • Add start_digital_credential_request. This method starts a flow. Then it gets the Digital Credentials API requests for the flow.
  • The next step of the flow must be a digital credential request that allows DC_API. If not, the method raises ValueError.
  • If you do not give option_id, the method uses the one option in the request preset. If the preset has more options, you must give option_id.
  • The method returns dc_api.requests without changes. Send these requests to Credential Manager.
  • The client endpoint uses the challenge token. The method does not send the secret key to it.

For native Android apps, the server must accept the app origin. authsignal/authsignal-serverless#3296 adds this.

Bug Fixes

None.

Checklist

  • Version bumped
  • Documentation updated

A backend needs to start a flow and get Digital Credentials API requests
for a native Android app in one call. The client endpoint uses the
challenge token, so the method does not send the secret key to it.
@Calebhino

Copy link
Copy Markdown
Author

Closing. The demo will use the existing SDK methods instead.

@Calebhino Calebhino closed this Oct 27, 2026
@Calebhino
Calebhino deleted the calebion/dc-api-request branch October 27, 2026 20:35
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.

1 participant