Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Web Component Framework
Toolkit
Commits
74123415
Commit
74123415
authored
4 years ago
by
Reiter, Christoph
Browse files
Options
Downloads
Patches
Plain Diff
Update vpu-common
parent
e6b94f1f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
packages/auth/rollup.config.js
+2
-1
2 additions, 1 deletion
packages/auth/rollup.config.js
packages/auth/src/vpu-auth-demo.js
+2
-2
2 additions, 2 deletions
packages/auth/src/vpu-auth-demo.js
packages/auth/vendor/common
+1
-1
1 addition, 1 deletion
packages/auth/vendor/common
with
5 additions
and
4 deletions
packages/auth/rollup.config.js
+
2
−
1
View file @
74123415
...
@@ -10,6 +10,7 @@ import consts from 'rollup-plugin-consts';
...
@@ -10,6 +10,7 @@ import consts from 'rollup-plugin-consts';
import
del
from
'
rollup-plugin-delete
'
;
import
del
from
'
rollup-plugin-delete
'
;
import
chai
from
'
chai
'
;
import
chai
from
'
chai
'
;
const
pkg
=
require
(
'
./package.json
'
);
const
build
=
(
typeof
process
.
env
.
BUILD
!==
'
undefined
'
)
?
process
.
env
.
BUILD
:
'
local
'
;
const
build
=
(
typeof
process
.
env
.
BUILD
!==
'
undefined
'
)
?
process
.
env
.
BUILD
:
'
local
'
;
console
.
log
(
"
build:
"
+
build
);
console
.
log
(
"
build:
"
+
build
);
...
@@ -58,7 +59,7 @@ export default {
...
@@ -58,7 +59,7 @@ export default {
copy
({
copy
({
targets
:
[
targets
:
[
{
src
:
'
assets/index.html
'
,
dest
:
'
dist
'
},
{
src
:
'
assets/index.html
'
,
dest
:
'
dist
'
},
{
src
:
'
assets/silent-check-sso.html
'
,
dest
:
'
dist
'
},
{
src
:
'
assets/silent-check-sso.html
'
,
dest
:
'
dist
/local/
'
+
pkg
.
name
},
{
src
:
'
assets/favicon.ico
'
,
dest
:
'
dist
'
},
{
src
:
'
assets/favicon.ico
'
,
dest
:
'
dist
'
},
{
src
:
'
node_modules/vpu-common/assets/icons/*.svg
'
,
dest
:
'
dist/local/vpu-common/icons
'
},
{
src
:
'
node_modules/vpu-common/assets/icons/*.svg
'
,
dest
:
'
dist/local/vpu-common/icons
'
},
]
]
...
...
This diff is collapsed.
Click to expand it.
packages/auth/src/vpu-auth-demo.js
+
2
−
2
View file @
74123415
...
@@ -39,7 +39,7 @@ class AuthDemo extends ScopedElementsMixin(LitElement) {
...
@@ -39,7 +39,7 @@ class AuthDemo extends ScopedElementsMixin(LitElement) {
console
.
error
(
"
not logged in
"
);
console
.
error
(
"
not logged in
"
);
return
;
return
;
}
}
let
userInfoURL
=
commonUtils
.
setting
(
'
keyCloakBaseURL
'
)
+
'
/realms/tugraz/protocol/openid-connect/userinfo
'
;
let
userInfoURL
=
'
https://auth-dev.tugraz.at/auth
/realms/tugraz/protocol/openid-connect/userinfo
'
;
// NOTE: the URL and realm need to match the keycloak config above
// NOTE: the URL and realm need to match the keycloak config above
const
response
=
await
fetch
(
const
response
=
await
fetch
(
...
@@ -63,7 +63,7 @@ class AuthDemo extends ScopedElementsMixin(LitElement) {
...
@@ -63,7 +63,7 @@ class AuthDemo extends ScopedElementsMixin(LitElement) {
}
}
render
()
{
render
()
{
const
silentCheckSsoUri
=
commonUtils
.
getAssetURL
(
'
silent-check-sso.html
'
);
const
silentCheckSsoUri
=
commonUtils
.
getAssetURL
(
'
vpu-auth
'
,
'
silent-check-sso.html
'
);
return
html
`
return
html
`
<style>
<style>
/* from BULMA.CSS */
/* from BULMA.CSS */
...
...
This diff is collapsed.
Click to expand it.
common
@
8c466476
Subproject commit
28492fe6e9f9683295a9b8f3c383c304969e7
fe
e
Subproject commit
8c46647624ad9d91316a4bad168d49221884e
fe
2
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment