Skip to content

Commit

Permalink
Add protected paths to properly redirect to the login page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Oct 29, 2024
1 parent f31cd46 commit a5ecd2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file modified src/main/bundles/dev.bundle
Binary file not shown.
9 changes: 9 additions & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ quarkus:
enabled: true
login-page: /ucp/login
error-page: /ucp/login?error
permission:
public:
paths:
- /ucp/login
policy: permit
protected:
paths:
- /ucp/*
policy: authenticated
rest-client:
faf-ory-hydra:
url: ${HYDRA_BASE_ADMIN_URL:http://localhost:4445}
Expand Down

0 comments on commit a5ecd2e

Please sign in to comment.