Closed starksm64 closed 2 weeks ago
/cc @sberyozkin (security)
cc @ia3andy for the codestart part
This behavior is expected:
CC @FroMage Hi Steph, please comment as well
The with starter-code is selected in the view I have that is attached. Playing with the filtering option, unless an extension includes the starter-code label next to it, it will not be able to include code?
The with starter-code is selected in the view I have that is attached. Playing with the filtering option, unless an extension includes the starter-code label next to it, it will not be able to include code?
unless you pick another extension with code, or we add a codestart for WebAuthn
I could add a codestart, but that'd be the only security extension to have one. Not sure it's worth it, if the other extensions didn't add one there must be a reason.
Perhaps your issue is that the build terminates with an ugly error, and it should just go on with a default bean that doesn't let you authenticate? This way the app starts, and you can add the required bean later to make it work?
Closing this one as it's the expected behavior. We don't ship the quickstart code when creating an app, you have to follow the tutorial.
If you think Stéphane's proposal has value, please create a PR.
Describe the bug
If I go to https://code.quarkus.io and select the Security WebAuthn extension and then generate the app, the resulting bundle has not java code:
The entire https://github.com/quarkusio/quarkus-quickstarts/tree/main/security-webauthn-quickstart/src/main/java/org/acme/security/webauthn directory from the quarkus-quickstarts repo is missing.
Expected behavior
Content exists and building the app package succeeds.
Actual behavior
Content is missing and building the app package fails with:
How to Reproduce?
Output of
uname -a
orver
Darwin Scotts-iMacPro 21.6.0 Darwin Kernel Version 21.6.0: Mon Dec 19 20:44:01 PST 2022; root:xnu-8020.240.18~2/RELEASE_X86_64 x86_64
Output of
java -version
java version "17.0.3" 2022-04-19 LTS Java(TM) SE Runtime Environment (build 17.0.3+8-LTS-111) Java HotSpot(TM) 64-Bit Server VM (build 17.0.3+8-LTS-111, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.16.5.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /Users/starksm/.m2/wrapper/dists/apache-maven-3.8.6-bin/67568434/apache-maven-3.8.6 Java version: 17.0.3, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-17.0.3.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "12.6.3", arch: "x86_64", family: "mac"
Additional information
No response