2.8. Running the application in dev mode
To run the application in a dev mode, use:
Using the Quarkus CLI:
quarkus devUsing Maven:
./mvnw quarkus:devUsing Gradle:
./gradlew --console=plain quarkusDev
Dev Services for Keycloak launches a Keycloak container and imports quarkus-realm.json.
Open a Dev UI available at /q/dev-ui and click a Keycloak provider link in the OpenID Connect Dev UI card.
When asked, log in to a Single Page Application provided by the OpenID Connect Dev UI:
Log in as
admin, with the password,admin. This user has bothadminanduserroles.-
Access
/frontend/user-name-with-propagated-token, which returns200. -
Access
/frontend/admin-name-with-propagated-token, which returns200.
-
Access
Log out and back in as
alicewith the password,alice. This user has auserrole.-
Access
/frontend/user-name-with-propagated-token, which returns200. -
Access
/frontend/admin-name-with-propagated-token, which returns403.
-
Access
You have tested that FrontendResource can propagate the access tokens from the OpenID Connect Dev UI.