Skip to content
Snippets Groups Projects
Commit c66817d0 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

person-select: add the silent sso check for development

makes it easier to quickly test
parent 41c0bf52
No related branches found
No related tags found
No related merge requests found
<html>
<body>
<script>
parent.postMessage(location.href, location.origin)
</script>
</body>
</html>
\ No newline at end of file
...@@ -48,6 +48,7 @@ export default (async () => { ...@@ -48,6 +48,7 @@ export default (async () => {
build !== 'local' && build !== 'test' ? terser() : false, build !== 'local' && build !== 'test' ? terser() : false,
copy({ copy({
targets: [ targets: [
{src: 'assets/silent-check-sso.html', dest: 'dist'},
{src: 'assets/index.html', dest: 'dist'}, {src: 'assets/index.html', dest: 'dist'},
{ {
src: await getPackagePath('@dbp-toolkit/common', 'assets/icons/*.svg'), src: await getPackagePath('@dbp-toolkit/common', 'assets/icons/*.svg'),
......
...@@ -67,7 +67,7 @@ export class PersonSelectDemo extends ScopedElementsMixin(DBPLitElement) { ...@@ -67,7 +67,7 @@ export class PersonSelectDemo extends ScopedElementsMixin(DBPLitElement) {
subscribe="requested-login-status" subscribe="requested-login-status"
lang="${this.lang}" lang="${this.lang}"
entry-point-url="${this.entryPointUrl}" entry-point-url="${this.entryPointUrl}"
silent-check-sso-redirect-uri="/dist/silent-check-sso.html" silent-check-sso-redirect-uri="/silent-check-sso.html"
url="https://auth-dev.tugraz.at/auth" url="https://auth-dev.tugraz.at/auth"
realm="tugraz-vpu" realm="tugraz-vpu"
client-id="auth-dev-mw-frontend-local" client-id="auth-dev-mw-frontend-local"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment