Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
82553e3
#542 WIP: implementing openconext-oidc-client
ricardovdheijden Apr 9, 2026
13b48fc
RTFM😁
oharsta Apr 9, 2026
cbb81af
#542 Adds isAuthenticated to config for frontend
ricardovdheijden Apr 10, 2026
19fd5b9
#542 Adds isAuthenticated check to the frontend (WIP)
ricardovdheijden Apr 13, 2026
c92b572
#567 Adding login endpoint (WIP)
ricardovdheijden Apr 14, 2026
836792a
#567 Merges multiple securityMatchers
ricardovdheijden Apr 14, 2026
5b2c9a7
WIP for EduIDOidcUserService
oharsta Apr 14, 2026
ea54e06
#542 Providing data for EduIDOidcUserService
ricardovdheijden Apr 14, 2026
a3b4fd3
#542 Provisioning user and external user when not found (WIP)
ricardovdheijden Apr 14, 2026
74ca694
#542 Retrieving memberships from edumember_is_member_of claim
ricardovdheijden Apr 15, 2026
5d98659
#542 Changes email_verified (boolean) to email (string) as source for…
ricardovdheijden Apr 15, 2026
93cb8bf
#542 Cleaning up SecurityConfiguration
ricardovdheijden Apr 15, 2026
edf75db
#542 Merges all authorizeHttpRequests and its matchers in to one block
ricardovdheijden Apr 15, 2026
5bcd4ed
#542 Adds run config for projects
ricardovdheijden Apr 17, 2026
a58f424
#542 Adds LocalDevelopmentAuthenticationFilter for skipping IDP in lo…
ricardovdheijden Apr 18, 2026
6c750c2
#542 Updates LocalDevelopmentAuthenticationFilter to support service …
ricardovdheijden Apr 21, 2026
d247e6b
#542 Using uids instead of id (mongo id)
ricardovdheijden Apr 21, 2026
eb8b20e
#542 Using first from uids instead of sub
ricardovdheijden Apr 21, 2026
a1cb994
#542 Removes redirect to /doLogout from myconext
ricardovdheijden Apr 21, 2026
73984d9
#542 Replaces hardcoded login page with the one from the config
ricardovdheijden Apr 21, 2026
26180c2
#542 Moves login endpoint to UserController
ricardovdheijden Apr 22, 2026
643f3b5
#542 Removes unused testcases and moves login unit tests to UserContr…
ricardovdheijden Apr 22, 2026
6410f8e
#542 Adds translations for rate limit landing page
ricardovdheijden Apr 22, 2026
e3db442
Automated update of strings.xml after updating localizations.yaml
ricardovdheijden Apr 22, 2026
2eef7d4
#542 Updates login and logout urls in myconext gui
ricardovdheijden Apr 22, 2026
50af548
#542 Adds login endpoint to ServiceDeskController
ricardovdheijden Apr 22, 2026
26a1e81
#542 Assigns appropriate authorities to the Service Desk user
ricardovdheijden Apr 29, 2026
c140752
#542 Service Desk: redirect to homepage after completing the login flow
ricardovdheijden Apr 29, 2026
73fe2bb
#542 Removes console log
ricardovdheijden Apr 29, 2026
39640f6
#542 Removes shibboleth related classes
ricardovdheijden Apr 30, 2026
967937e
#542 Downgrades svelte back to a version where the account-gui and my…
ricardovdheijden Apr 30, 2026
a4492f2
#542 Removes Shibboleth from config files
ricardovdheijden Apr 30, 2026
9f7849a
#542 Fixes unit tests, navigate from svelte-routing makes unit tests …
ricardovdheijden May 1, 2026
71a3c17
#542 Reverts loglevel to its original value
ricardovdheijden May 4, 2026
bb31a0b
#542 Version bump for changes in current branch
ricardovdheijden May 4, 2026
dae4918
#542 Adding second client config (WIP)
ricardovdheijden May 5, 2026
0639c69
WIP
oharsta May 5, 2026
e3dd0e0
#542 Moves registrationId detection to SecurityConfiguration
ricardovdheijden May 6, 2026
f0aaea4
#542 Moves login endpoint to login controller and makes the client se…
ricardovdheijden May 6, 2026
036138b
#542 ServiceDesk: makes the client send registration_id query parameter
ricardovdheijden May 6, 2026
be41d9a
#542 Moves login unittests to LoginControllerTest
ricardovdheijden May 7, 2026
4edd03b
#542 Updates login url for mijn-eduid
ricardovdheijden May 7, 2026
6a88192
#542 Makes failing test on CI also fail on local-dev
ricardovdheijden May 7, 2026
0e47ff8
#542 Adds seed for external_users (more stable unit tests for service…
ricardovdheijden May 7, 2026
8852df3
#542 Adds new login endpoint to proxy config for myconext and service…
ricardovdheijden May 7, 2026
7cf94c9
#542 Renames mijn_ediuid to mijn_eduid
ricardovdheijden May 7, 2026
abea5e5
#542 Re-adds doLogout to IDP section to log user out from IDP
ricardovdheijden May 8, 2026
1037422
#542 Service Desk: Re-adds doLogout to IDP section to log user out fr…
ricardovdheijden May 8, 2026
675cbe1
#542 Renames EduIDOidcUserService to OpenConextOidcUserService
ricardovdheijden May 11, 2026
955f48c
#542 Adds servicedesk url for config endpoint and servicedesk gui app
ricardovdheijden May 11, 2026
59befed
#542 Adds extra logging to troubleshoot deployment on Test2
ricardovdheijden May 12, 2026
b9d60c2
#542 Replaces navigate function with windows.location.href
ricardovdheijden May 12, 2026
b7b5ee6
#542 Adds service desk redirect url
ricardovdheijden May 12, 2026
19077c6
#542 Introduces multiple state values for authentication, loading, fo…
ricardovdheijden May 12, 2026
8b7a866
#542 Removes redirect to logout at IDP
ricardovdheijden May 12, 2026
02d0d63
#542 Updates comments in security section
ricardovdheijden May 13, 2026
01b041a
#542 Small PR comments processed. Especially removing todo and commen…
ricardovdheijden May 13, 2026
22482ab
#542 Removes code duplication for the login trigger
ricardovdheijden May 13, 2026
2eff82d
#542 Adds SkipIDP run config for ServiceDesk mode of MyConextServer
ricardovdheijden May 13, 2026
bddccc3
#542 Adds missing property for unit tests to make them pass again
ricardovdheijden May 14, 2026
27bbf02
#542 Makes auto provisioning false by default since it is servicedesk…
ricardovdheijden May 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .run/BE - MyConextServerApplication (MyConext) - SkipIDP.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BE - MyConextServerApplication (MyConext) - Skip IDP" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="ACTIVE_PROFILES" value="test" />
<module name="myconext-server" />
<option name="SPRING_BOOT_MAIN_CLASS" value="myconext.MyConextServerApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
10 changes: 10 additions & 0 deletions .run/BE - MyConextServerApplication (MyConext).run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BE - MyConextServerApplication (MyConext)" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="ACTIVE_PROFILES" value="dev" />
<module name="myconext-server" />
<option name="SPRING_BOOT_MAIN_CLASS" value="myconext.MyConextServerApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BE - MyConextServerApplication (ServiceDesk) - Skip IDP" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="ACTIVE_PROFILES" value="test,servicedesk" />
<module name="myconext-server" />
<option name="SPRING_BOOT_MAIN_CLASS" value="myconext.MyConextServerApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
10 changes: 10 additions & 0 deletions .run/BE - MyConextServerApplication (Servicedesk).run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BE - MyConextServerApplication (Servicedesk)" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<option name="ACTIVE_PROFILES" value="dev,servicedesk" />
<module name="myconext-server" />
<option name="SPRING_BOOT_MAIN_CLASS" value="myconext.MyConextServerApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
9 changes: 9 additions & 0 deletions .run/BE - TiqrApplication.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BE - TiqrApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
<module name="tiqr-mock" />
<option name="SPRING_BOOT_MAIN_CLASS" value="tiqr.org.TiqrApplication" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
12 changes: 12 additions & 0 deletions .run/FE - Account-gui.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="FE - Account-gui" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/account-gui/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
12 changes: 12 additions & 0 deletions .run/FE - MyConext-gui.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="FE - MyConext-gui" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/myconext-gui/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
12 changes: 12 additions & 0 deletions .run/FE - Servicedesk.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="FE - Servicedesk" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/servicedesk-gui/package.json" />
<command value="run" />
<scripts>
<script value="dev" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
2 changes: 1 addition & 1 deletion account-gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"serialize-javascript": "^7.0.5",
"serve": "^14.2.4",
"style-loader": "^4.0.0",
"svelte": "^5.55.5",
"svelte": "5.19.3",
"svelte-loader": "^3.2.4",
"svelte-preprocess": "^6.0.3",
"vite": "^8.0.10",
Expand Down
2 changes: 1 addition & 1 deletion account-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>myconext</artifactId>
<version>8.3.1-SNAPSHOT</version>
<version>8.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>account-gui</artifactId>
Expand Down
1 change: 1 addition & 0 deletions account-gui/src/locale/js/en/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"Header.Logout.COPY": "Logout",
"Header.LogOff.COPY": "Log Off",
"Landing.LogoutTitle.COPY": "You have been logged out",
"Landing.RateLimitTitle.COPY": "Too many failed attempts",
"RegistrationCheck.MainText.COPY": "Checking for\nexisting registration\n",
"RegistrationCheck.HighLight.COPY": "existing registration",
"RegistrationCheck.LogoutStatus.COPY": "Close the browser to log out.",
Expand Down
1 change: 1 addition & 0 deletions account-gui/src/locale/js/nl/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"Header.Logout.COPY": "Uitloggen",
"Header.LogOff.COPY": "Afmelden",
"Landing.LogoutTitle.COPY": "Je bent uitgelogd",
"Landing.RateLimitTitle.COPY": "Te veel mislukte pogingen",
"RegistrationCheck.MainText.COPY": "Controleren op\nbestaande inschrijving\n",
"RegistrationCheck.HighLight.COPY": "bestaande inschrijving",
"RegistrationCheck.LogoutStatus.COPY": "Sluit de browser om uit te loggen.",
Expand Down
5 changes: 5 additions & 0 deletions account-gui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ export default defineConfig({
changeOrigin: false,
secure: false
},
'/doLogout': {
target: 'http://localhost:8081',
changeOrigin: false,
secure: false
},
'/tiqr': {
target: 'http://localhost:8081',
changeOrigin: false,
Expand Down
59 changes: 22 additions & 37 deletions account-gui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# yarn lockfile v1


"@ampproject/remapping@^2.2.0":
"@ampproject/remapping@^2.2.0", "@ampproject/remapping@^2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4"
integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==
Expand Down Expand Up @@ -1179,14 +1179,6 @@
"@jridgewell/sourcemap-codec" "^1.4.10"
"@jridgewell/trace-mapping" "^0.3.24"

"@jridgewell/remapping@^2.3.4":
version "2.3.5"
resolved "https://registry.yarnpkg.com/@jridgewell/remapping/-/remapping-2.3.5.tgz#375c476d1972947851ba1e15ae8f123047445aa1"
integrity sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==
dependencies:
"@jridgewell/gen-mapping" "^0.3.5"
"@jridgewell/trace-mapping" "^0.3.24"

"@jridgewell/resolve-uri@^3.1.0":
version "3.1.2"
resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6"
Expand Down Expand Up @@ -1430,11 +1422,6 @@
dependencies:
"@sinonjs/commons" "^3.0.0"

"@sveltejs/acorn-typescript@^1.0.5":
version "1.0.9"
resolved "https://registry.yarnpkg.com/@sveltejs/acorn-typescript/-/acorn-typescript-1.0.9.tgz#ac0bde368d6623727b0e0bc568cf6b4e5d5c4baa"
integrity sha512-lVJX6qEgs/4DOcRTpo56tmKzVPtoWAaVbL4hfO7t7NVwl9AAXzQR6cihesW1BmNMPl+bK6dreu2sOKBP2Q9CIA==

"@sveltejs/vite-plugin-svelte-inspector@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@sveltejs/vite-plugin-svelte-inspector/-/vite-plugin-svelte-inspector-5.0.0.tgz#6daf8fb9fced43390614caf449409371847ba655"
Expand Down Expand Up @@ -1574,6 +1561,11 @@ accepts@~1.3.5:
mime-types "~2.1.34"
negotiator "0.6.3"

acorn-typescript@^1.4.13:
version "1.4.13"
resolved "https://registry.yarnpkg.com/acorn-typescript/-/acorn-typescript-1.4.13.tgz#5f851c8bdda0aa716ffdd5f6ac084df8acc6f5ea"
integrity sha512-xsc9Xv0xlVfwp2o7sQ+GCQ1PgbkdcpWdTzrwXxO3xDMTAywVS3oXVOcOHuRjAPkS4P9b+yc/qNF15460v+jp4Q==

acorn@^8.12.1:
version "8.14.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.1.tgz#721d5dc10f7d5b5609a891773d47731796935dfb"
Expand Down Expand Up @@ -1655,10 +1647,10 @@ argparse@^1.0.7:
dependencies:
sprintf-js "~1.0.2"

aria-query@5.3.1:
version "5.3.1"
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.1.tgz#ebcb2c0d7fc43e68e4cb22f774d1209cb627ab42"
integrity sha512-Z/ZeOgVl7bcSYZ/u/rh0fOpvEpq//LZmdbkXyc7syVzjPAhfOa9ebsdTSjEBDU4vs5nC98Kfduj1uFo0qyET3g==
aria-query@^5.3.1:
version "5.3.2"
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59"
integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==

axobject-query@^4.1.0:
version "4.1.0"
Expand Down Expand Up @@ -2141,11 +2133,6 @@ detect-newline@^3.0.0:
resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651"
integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==

devalue@^5.6.4:
version "5.7.1"
resolved "https://registry.yarnpkg.com/devalue/-/devalue-5.7.1.tgz#93e2d9412b909a7901d7b966ebb3479d15a390fd"
integrity sha512-MUbZ586EgQqdRnC4yDrlod3BEdyvE4TapGYHMW2CiaW+KkkFmWEFqBUaLltEZCGi0iFXCEjRF0OjF0DV2QHjOA==

diff-sequences@^29.6.3:
version "29.6.3"
resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921"
Expand Down Expand Up @@ -2263,10 +2250,10 @@ esprima@^4.0.0:
resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==

esrap@^2.2.4:
version "2.2.5"
resolved "https://registry.yarnpkg.com/esrap/-/esrap-2.2.5.tgz#23dd923664bd84d7b069ce3dea3b3c0dc91b6d3d"
integrity sha512-/yLB1538mag+dn0wsePTe8C0rDIjUOaJpMs2McodSzmM2msWcZsBSdRtg6HOBt0A/r82BN+Md3pgwSc/uWt2Ig==
esrap@^1.4.3:
version "1.4.9"
resolved "https://registry.yarnpkg.com/esrap/-/esrap-1.4.9.tgz#350362c55d8c83b263edfb0fd48dac95162167de"
integrity sha512-3OMlcd0a03UGuZpPeUC1HxR3nA23l+HEyCiZw3b3FumJIN9KphoGzDJKMXI1S72jVS1dsenDyQC0kJlO1U9E1g==
dependencies:
"@jridgewell/sourcemap-codec" "^1.4.15"

Expand Down Expand Up @@ -3916,23 +3903,21 @@ svelte-routing@^2.13.0:
resolved "https://registry.yarnpkg.com/svelte-routing/-/svelte-routing-2.13.0.tgz#d8215a55491e32203d4eaeda20b313dd257bdce7"
integrity sha512-/NTxqTwLc7Dq306hARJrH2HLXOBtKd7hu8nxgoFDlK0AC4SOKnzisiX/9m8Uksei1QAWtlAEdF91YphNM8iDMg==

svelte@^5.55.5:
version "5.55.5"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-5.55.5.tgz#2d7160eb18a10c6f6a124bfbb010d353a937c069"
integrity sha512-2uCs/LZ9us+AktdzYJM8OcxQ8qnPS1kpaO7syGT/MgO+6Qr1Ybl+TqPq+97u7PHqmmMlye5ZkoyXONy5mjjAbw==
svelte@5.19.3:
version "5.19.3"
resolved "https://registry.yarnpkg.com/svelte/-/svelte-5.19.3.tgz#2e763bca74618f486e43bbe07034669ad9139c8b"
integrity sha512-rb/bkYG9jq67OCWikMvaPnfOobyGn0JizVDwHpdeBtLiNXPMcoA9GTFC3BhptP7xGNquUU8J5GiS7PlGlfDAFA==
dependencies:
"@jridgewell/remapping" "^2.3.4"
"@ampproject/remapping" "^2.3.0"
"@jridgewell/sourcemap-codec" "^1.5.0"
"@sveltejs/acorn-typescript" "^1.0.5"
"@types/estree" "^1.0.5"
"@types/trusted-types" "^2.0.7"
acorn "^8.12.1"
aria-query "5.3.1"
acorn-typescript "^1.4.13"
aria-query "^5.3.1"
axobject-query "^4.1.0"
clsx "^2.1.1"
devalue "^5.6.4"
esm-env "^1.2.1"
esrap "^2.2.4"
esrap "^1.4.3"
is-reference "^3.0.3"
locate-character "^3.0.0"
magic-string "^0.30.11"
Expand Down
4 changes: 4 additions & 0 deletions localizations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ SHARED:
COPY:
en: You have been logged out
nl: Je bent uitgelogd
RateLimitTitle:
COPY:
en: Too many failed attempts
nl: Te veel mislukte pogingen
RegistrationCheck:
MainText:
COPY:
Expand Down
2 changes: 1 addition & 1 deletion myconext-gui/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/openconext/openconext-basecontainers/apache2-shibboleth:latest
FROM ghcr.io/openconext/openconext-basecontainers/apache2:latest
COPY ./dist/ /var/www/
COPY ./docker/conf/000-default.conf /etc/apache2/sites-enabled/000-default.conf

55 changes: 16 additions & 39 deletions myconext-gui/docker/conf/000-default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,67 +20,44 @@ RewriteCond %{REQUEST_URI} !^/robots.txt
RewriteCond %{REQUEST_URI} !^/config
RewriteCond %{REQUEST_URI} !^/fonts
RewriteCond %{REQUEST_URI} !^/.well-known
RewriteCond %{REQUEST_URI} !^/oauth2
RewriteCond %{REQUEST_URI} !^/login/oauth2
RewriteCond %{REQUEST_URI} !^/auth/login
RewriteCond %{REQUEST_URI} !^/doLogout
RewriteRule (.*) /index.html [L]

ProxyPreserveHost On
ProxyPass /Shibboleth.sso !

ProxyPass /myconext/api http://myconextserver:8080/myconext/api
ProxyPassReverse /myconext/api http://myconextserver:8080/myconext/api

ProxyPass /tiqr http://myconextserver:8080/tiqr
ProxyPassReverse /tiqr http://myconextserver:8080/tiqr

ProxyPass /oauth2/authorization http://myconextserver:8080/oauth2/authorization
ProxyPassReverse /oauth2/authorization http://myconextserver:8080/oauth2/authorization

ProxyPass /login/oauth2 http://myconextserver:8080/login/oauth2
ProxyPassReverse /login/oauth2 http://myconextserver:8080/login/oauth2

ProxyPass /auth/login http://myconextserver:8080/auth/login
ProxyPassReverse /auth/login http://myconextserver:8080/auth/login

ProxyPass /doLogout http://myconextserver:8080/doLogout
ProxyPassReverse /doLogout http://myconextserver:8080/doLogout

ProxyPass /internal http://myconextserver:8080/internal
ProxyPass /actuator http://myconextserver:8080/internal
ProxyPass /robots.txt http://myconextserver:8080/robots.txt
ProxyPass /config http://myconextserver:8080/config

<Location />
AuthType shibboleth
ShibUseHeaders On
ShibRequireSession On
Require valid-user
</Location>

DocumentRoot "/var/www"

<Directory "/var/www">
Require all granted
Options -Indexes
</Directory>

# Public endpoints
<Location ~ "/(config|register|404|robots.txt)">
Require all granted
</Location>

# After logout / delete
<Location ~ "/landing(.*)">
Require all granted
</Location>

<Location ~ "/create-from-institution(.*)">
Require all granted
</Location>

<Location ~ "/internal/">
Require all granted
</Location>

# Svelte resources
<Location ~ "(.*)(eot|svg|webp|ttf|woff2|woff|js|js\.map|css|css\.map|png|jpg|ico)$">
Require all granted
</Location>

<Location ~ "/.well-known/">
Require all granted
</Location>

<Location ~ "/(asset-)?manifest.json$">
Require all granted
</Location>

Header always set X-Frame-Options "DENY"
Header always set Referrer-Policy "same-origin"
Header always set X-Content-Type-Options "nosniff"
2 changes: 1 addition & 1 deletion myconext-gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"serialize-javascript": "^7.0.5",
"serve": "^14.2.4",
"style-loader": "^4.0.0",
"svelte": "5.55.5",
"svelte": "5.19.3",
"svelte-loader": "3.2.4",
"svelte-preprocess": "^6.0.3",
"svelte-select": "^5.8.3",
Expand Down
2 changes: 1 addition & 1 deletion myconext-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>myconext</artifactId>
<version>8.3.1-SNAPSHOT</version>
<version>8.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>myconext-gui</artifactId>
Expand Down
Loading
Loading