Skip to content
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

feat: Added support for url query inside the didcomm deeplink #76

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

Tommylans
Copy link
Member

Not tested yet.

@Tommylans Tommylans requested a review from TimoGlastra October 27, 2023 15:34
@Tommylans Tommylans force-pushed the feature/didcomm-deeplinking-url-query branch from 0169a6e to 3346151 Compare October 27, 2023 15:35
@@ -346,12 +347,15 @@ export async function tryParseDidCommInvitation(
invitationUrl: string
): Promise<OutOfBandInvitation | null> {
try {
const parsedUrl = queryString.parseUrl(invitationUrl)
const updatedInvitationUrl = (parsedUrl['url'] as string | undefined) ?? invitationUrl
Copy link
Member

Choose a reason for hiding this comment

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

I think we should maybe call this oobUrl=?

BTW. For the deeplink in Paradym, we can just use https://paradym.id right, as we link to our own wallet?

So if the button says Open in Paradym Wallet, we don't really need the didcomm:// prefix?

Ofc. Good for other wallets

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll update it, so it will work with the didcomm://?oobUrl= deeplink the https deeplinking needs a bit more work.

@Tommylans Tommylans marked this pull request as ready for review November 2, 2023 19:03
@Tommylans Tommylans requested a review from TimoGlastra November 2, 2023 19:03
@TimoGlastra TimoGlastra merged commit 39c63b8 into main Nov 3, 2023
1 check passed
@TimoGlastra TimoGlastra deleted the feature/didcomm-deeplinking-url-query branch November 3, 2023 06:02
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