-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Feature/blazor wasm #379
Feature/blazor wasm #379
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## master #379 +/- ##
=======================================
Coverage 76.80% 76.80%
=======================================
Files 89 89
Lines 2531 2531
Branches 427 427
=======================================
Hits 1944 1944
Misses 466 466
Partials 121 121 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Forgot the resident key option in custom, it's there now. |
a78908a
to
4e8c93f
Compare
So for some reason it tries publishing the BlazorWasmDemo project now instead of the Demo project, any idea why? I didn't change anything in the pipeline (could I even?). |
4e8c93f
to
aceebc0
Compare
Sorry forgot to set my E-Mail, nothing else changed with this force push I just updated the author. |
Any idea how the pipeline can publish the new project instead of Demo/Demo.csproj as stated in the pipeline config? Seems like a bug to me, but I haven't actually worked with azure pipelines, just Gitlab where I write the actual bash script myself. Should I open an issue with Microsoft about that pipeline task? |
So I might have an idea what to do, although I'm not sure if it's the correct way or if I'm even able to change the pipeline config or test it here, but I'm gonna try and hope for some feedback either way :) |
Oh it actually worked, it was missing sourcelink so for some reason it included a beta version of it, which broke the build. |
So I'm unsure about the process here, I'm the only one in this thread either so I don't think anyone else gets pinged when I write something? @abergs Review please, Blazor lib & Demo are finished. |
@Regenhardt Any chance you can host this on onrender.com for testing -- going to see if I can carve out some time next week to review. This seems like a high quality and useful implementation for the library (and helps validate that we got our AOT / trimming annotations right). I'm also hoping we can get the passkeys PR merged in soon, which might result in some conflicts. We should probably get that in first -- and make sure everything there works on WASM too. |
I'd love to, but for the first time ever I can't seem to get the Dockerfile right. Gonna dig a bit into what's going on here. Error message is the same before and after switching from
|
I have no more ideas what to do here so I guess I'll have to wait for answer here for now: dotnet/sdk#31011 |
Ok turns out I didn't have the Directory.Build.props in the docker image, making dotnet indeed restore projects without target Frameworks. |
@iamcarbon know of any other site to deploy this without an explicit need for a Dockerfile? Sourcelink needs some weird hacks to be compiled in a Dockerfile, this might take a few days for me to get right. |
7228d98
to
c50c77e
Compare
Ok I got it working locally and cleaned the mess I made with the commits while doing it, time to try it on render. |
f7ab4cc
to
7128104
Compare
Ok it seems a failed deploy was something temporary on render's side, it works now: |
d7fa5a2
to
12e0337
Compare
Will wait for #393 to be merged, then rebase to make sure this is up to date. |
12e0337
to
f65d736
Compare
@Regenhardt Thanks for updating. Just in case you didn't see it, we still have some conflicts. |
Yeah this was the first pass to clean up the commit history and make it more easily reviewable. I just rebased onto master and am now integrating the new features, shouldn't be too long now. |
Few questions that confuse me from a users perspective, that I probably should have asked in the review of the other branch but was too occupied (these are probably all not necessary to answer if you don't have the time, I can make it work anyway): What's the difference between What's the difference between Why two properties
The extensions include a Since we're making breaking changes anyway: Could we rename the |
Also I just realised |
Note that this is not yet implemented by Firefox, so we have to return empty-listed if we can't get transports.
f65d736
to
a47de5e
Compare
Alright everything up-to-date and way cleaner than before. My questions can also be answered at a later date, those are just things that can be confusing, not important (probably) for the actual feature here. |
Also publishWebProjects has to be explicitly false to honour the 'projects' parameter.
a47de5e
to
2ffbf21
Compare
Thank you so much for all this cleanup work! It's been bugging me for quite a while, I just hadn't been able to find the contiguous time that it takes to focus and get everything back right. The reason behind all the renaming is to align the names directly to match the spec as much as possible. If you look at some of the earliest code, the names didn't match the verbiage in the spec at all. We got a little better about that as the library matured, but the spec also matured, some things were added/removed/renamed and it's hard to keep track of while also not breaking anything (maintaining backward compatibility). I'll try to get to the other more specific questions later today. |
Also fixed the deploy, it can be tested on render: https://fido2-blazorwasm.onrender.com/ |
It's been a few weeks, are you ok? |
I think those are redundant. A few times I tried to move everything to use the
Those seem redundant, probably backward compatibility as you said. We should keep the one that matches the naming in the spec, and have the other one point to that one instead of having two properties.
This is new territory with devicePublicKey, I don't see
I think the
I don't feel super strongly about this, but I am striving to move all of the object names to match the spec wherever feasible. The |
Great, thanks for clearing those up! Will gladly implement some of those things after this is merged, as I would prefer not to have to rebase this branch again. |
I'm sorry for taking so long to sit down and respond to these. Definitely can relate to not wanting to rebase again... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While this is mostly new files that don't carry much risk, I still intend to take some time and review and run on my machine.
If @aseigler or @iamcarbon wants to do this before I get a chance, you're welcome and I will trust your review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't get this to run and register a credential on my machine on the "go passwordless" page.
---> System.Text.Json.JsonException: The JSON value could not be converted to System.Nullable`1[System.Boolean]. Path: $.extensions.credProps | LineNumber: 0 | BytePositionInLine: 153.
blazor.webassembly.js:1 ---> System.InvalidOperationException: Cannot get the value of a token type 'StartObject' as a boolean.
closes #371
I tried building the same demo again basically. The docker deployment commit is completely optional and I can remove it if you prefer that.