Conversation
RobThree
left a comment
There was a problem hiding this comment.
@willpower232 What do you think? Do we want a (from what I can gather) vendor-specific "extension" in this library? Especially since this will also muddy the waters with #56
I'm not strictly against, just also not a real fan I guess...
|
This seems to be an application-specific deviation from the official spec so I'd vote against including it here, pending any official change to the spec. The implementation of #56 provides the capability to the individual developers application without affecting the core of the library so is less responsibility to the library as a whole than this change. |
|
An option would be to refactor out something like an Thing is; even if the extra parameter is added, it doesn't break any other authenticators (does it? - we'll need to verify this at least for the top 5 or so most popular ones). And as long as no image is set the parameter won't be added to the url. So I also don't see any harm other than 'promoting' use of non-standard extensions. Then again, that's what made the internet the internet; if everyone had stuck with the spec we'd still be in the early 2000's by web-standards... For now I vote to be on the conservative reserved side and keep it out. For now. |
Feature added
Added Image support for FreeOPT as explained on this StackOverflow answer: https://stackoverflow.com/a/50410063
Feature test
Feature tested on FreeOTP and works as expected. Also tested on Microsoft Authenticator, Authy and Google Authenticator to check that still works on authenticators that do not suport the image parameter.
Test were made on Android versions only