kspearrin / kspearrin/Otp.NET

[Feature Request] Add custom extra url query values for `OtpUri` class

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.3k
Forks
179
PR merge metrics
No merged PRs in 30d

Description

Some authenticator apps (i.e. Microsoft Authenticator) supports some non-standard uri query values for extra informations, such as `image` (which used to set the URL for display logo image), and so on.

Could you please consider to add an `ExtraQueryValues` dictionary into the `OtpUri` class and use it to append any extra url query values when invoking the `ToUrl` method? Although it can be done by manually update the generated string using 3rd string URI handling methods, it will be much better if this feature is integrated.

Many thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the OtpUri class and its ToUrl method, then inspect how the current URI query values are assembled. Add support for the requested ExtraQueryValues dictionary so custom values are appended when ToUrl is invoked, and verify that existing URL generation remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.