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

Webauthn improvements : docs, customisable cookies, virtual thread support #38373

Merged
merged 10 commits into from
Mar 26, 2024

Conversation

FroMage
Copy link
Member

@FroMage FroMage commented Jan 24, 2024

This is mostly docs improvements, but also #38352 and #38351

@FroMage
Copy link
Member Author

FroMage commented Jan 24, 2024

For @cescoffier 's review, it's mostly about the logic in https://github.com/quarkusio/quarkus/pull/38373/files#diff-493a6f5a982ad741f9a8c8b0a8485833005410f7e2fb3062f4c53290a7238dfeR44 that I'm not entirely convinced about.

There are tests, though, but a logic/sanity check would not hurt.

@quarkus-bot

This comment has been minimized.

Copy link
Member

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

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

The virtual thread part looks good to me!

Quarkus Documentation automation moved this from To do to Reviewer approved Jan 24, 2024
@FroMage
Copy link
Member Author

FroMage commented Jan 25, 2024

First failure is my fault, but the second one about import sorting is annoying, locally it's not run:

[INFO] --- impsort-maven-plugin:1.9.0:sort (sort-imports) @ quarkus-integration-test-virtual-threads-security-webauthn ---
[INFO] Skipping execution of impsort-maven-plugin

@FroMage
Copy link
Member Author

FroMage commented Jan 25, 2024

Oh great, so I have to run the build on java < 20, then java 20.

@FroMage FroMage force-pushed the webauthn-docs branch 2 times, most recently from 4374f43 to acb3550 Compare January 25, 2024 10:14
Copy link

github-actions bot commented Jan 25, 2024

🙈 The PR is closed and the preview is expired.

@quarkus-bot

This comment has been minimized.

@FroMage
Copy link
Member Author

FroMage commented Jan 25, 2024

Yeah, the quickstarts have their own PR at quarkusio/quarkus-quickstarts#1377 how do we get out of this kind of chicken/egg issue @gsmet ?

@sberyozkin
Copy link
Member

Hi Steph, @FroMage, thanks for the PR. This is for main , so I've been thinking, I'll need to work through the tutorial and catch up a bit on some WebAuthn mechanics, spec details, as it is getting a bit vague for me, and then I'll be happy to review. Hope you are OK with it, we have a lot of time before 3.9 is released, I'll try to finish it within up to 2 weeks.
Clement's review is enough to merge, so if you'd like, go ahead, only keep it open if you'd like to wait for one more approval.

Cheers

@FroMage
Copy link
Member Author

FroMage commented Jan 25, 2024

This PR doesn't change any mechanics of webauthn beyond giving the ability to configure the cookie names in use, and allowing virtual threads where blocking calls were also allowed.

As such, it can be reviewed without any webauthn knowledge.

@quarkus-bot

This comment has been minimized.

Copy link
Member

@sberyozkin sberyozkin left a comment

Choose a reason for hiding this comment

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

@FroMage Apologies for a delay, while I definitely want to start helping with more concrete reviews, I'm falling behind right now and don't want to hold this important PR with various fixes, it should be part of 3.9 for sure. @cescoffier has already approved, so please go ahead with the merge when you are ready, thanks

@FroMage
Copy link
Member Author

FroMage commented Mar 12, 2024

Yeah, the quickstarts have their own PR at quarkusio/quarkus-quickstarts#1377 how do we get out of this kind of chicken/egg issue @gsmet ?

@gsmet what's the procedure for merging inter-dependent PRs?

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@FroMage
Copy link
Member Author

FroMage commented Mar 20, 2024

Not sure what that failure was about, rebased and retrying.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@FroMage
Copy link
Member Author

FroMage commented Mar 21, 2024

I don't understand why the enforcer plugin runs locally:

[INFO] --- enforcer:3.2.1:enforce (enforce) @ quarkus-integration-test-virtual-threads-security-webauthn ---
Downloading from apache.snapshots: https://repository.apache.org/snapshots/io/quarkus/quarkus-parent/999-SNAPSHOT/maven-metadata.xml
[INFO] Rule Config Provider org.apache.maven.enforcer.rules.ExternalRules executed
[INFO] Rule Config Provider org.apache.maven.enforcer.rules.ExternalRules executed
[INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 1: io.quarkus.enforcer.RequiresMinimalDeploymentDependency passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed

@quarkus-bot
Copy link

quarkus-bot bot commented Mar 21, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 82efe40.

Failing Jobs

Status Name Step Failures Logs Raw logs Build scan
Quickstarts Compilation - JDK 17 Compile Quickstarts Failures Logs Raw logs 🚧

You can consult the Develocity build scans.

Failures

⚙️ Quickstarts Compilation - JDK 17 #

- Failing: security-webauthn-quickstart security-webauthn-reactive-quickstart 

📦 security-webauthn-quickstart

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project security-webauthn-quickstart: Compilation failure

📦 security-webauthn-reactive-quickstart

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project security-webauthn-reactive-quickstart: Compilation failure

@quarkus-bot
Copy link

quarkus-bot bot commented Mar 21, 2024

Status for workflow Quarkus Documentation CI

This is the status report for running Quarkus Documentation CI on commit 82efe40.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@FroMage
Copy link
Member Author

FroMage commented Mar 21, 2024

Quickstart failure is normal, as there's a separate PR for it.

@FroMage
Copy link
Member Author

FroMage commented Mar 26, 2024

No answer about quickstart, let's just merge this and get this done.

@FroMage FroMage merged commit a5fb156 into quarkusio:main Mar 26, 2024
22 of 23 checks passed
Quarkus Documentation automation moved this from Reviewer approved to Done Mar 26, 2024
@quarkus-bot quarkus-bot bot added this to the 3.10 - main milestone Mar 26, 2024
@FroMage FroMage deleted the webauthn-docs branch March 26, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants