diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index dc84b0c..c3e5e88 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -20,6 +20,9 @@ quarkus.oidc.tls.verification=none quarkus.oidc.application-type=web-app quarkus.oidc.authentication.redirect-path=/gbcm/login quarkus.oidc.authentication.restore-path-after-redirect=true +# Allow access to pages without automatic redirect +quarkus.oidc.authentication.java-script-auto-redirect=false +quarkus.oidc.authentication.force-redirect-https-scheme=false # REST Client Configuration - GBCM Server API gbcm.server.api.url=http://localhost:8082/api diff --git a/src/main/webapp/WEB-INF/faces-config.xml b/src/main/webapp/WEB-INF/faces-config.xml new file mode 100644 index 0000000..4201bf5 --- /dev/null +++ b/src/main/webapp/WEB-INF/faces-config.xml @@ -0,0 +1,42 @@ + + + + + messages + + fr + fr + en + + + + + * + + dashboard + /pages/dashboard.xhtml + + + + profile + /pages/profile.xhtml + + + + clients + /pages/clients.xhtml + + + + home + /index.xhtml + + + + + + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 17ee39a..db61510 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -52,21 +52,8 @@ *.xhtml - - - - Protected Pages - /pages/dashboard/* - /pages/coaching/* - /pages/workshops/* - /pages/admin/* - - - user - coach - admin - - + +