Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mvj 453 hds login #521

Merged
merged 12 commits into from
Sep 24, 2024
Merged
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"file-saver": "^2.0.5",
"font-awesome": "^4.7.0",
"foundation-sites": "6.5.3",
"hds-react": "^3.8.0",
"hds-react": "^3.9.0",
"history": "^4.9.0",
"leaflet": "^1.5.1",
"leaflet-draw": "^1.0.4",
Expand All @@ -36,7 +36,6 @@
"leaflet-zoombox": "^0.5.1",
"lodash": "^4.17.21",
"normalize.css": "^8.0.1",
"oidc-client": "^1.8.2",
"proj4": "^2.5.0",
"proj4leaflet": "^1.0.2",
"prop-types": "^15.7.2",
Expand All @@ -59,7 +58,6 @@
"redux": "^4.0.4",
"redux-actions": "^2.6.5",
"redux-form": "^8.2.5",
"redux-oidc": "^3.1.4",
"redux-saga": "^1.0.5",
"utility-types": "^3.11.0",
"whatwg-fetch": "^3.0.0"
Expand All @@ -72,6 +70,7 @@
"@babel/preset-react": "^7.24.7",
"@eslint/js": "^9.9.0",
"@rollup/plugin-babel": "^6.0.4",
"@testing-library/react-hooks": "^8.0.1",
"@types/history": "^5.0.0",
"@types/leaflet": "^1.5.23",
"@types/leaflet-draw": "^1.0.11",
Expand Down
20 changes: 20 additions & 0 deletions public/silent_renew.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Silent renewal</title>
</head>
<body>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/oidc-client-ts/2.2.2/browser/oidc-client-ts.min.js"
integrity="sha512-pt8b5O4w5Y9/xZpIhPN8Soo/YbC95SxHn0P/Mu39iYB2Ih/09TMS3Id5XPqve2f8DPC6voXOzgQNojCuqO6A4w=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script>
var mgr = new oidc.UserManager({});
mgr.signinSilentCallback().catch(error => {
console.error('silent_renew.html error', error);
});
</script>
</body>
</html>
Loading