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

Feature: External Login through OIDC #216

Merged
merged 98 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
c7fe1f2
DISPLAY-1028: remove unused react logos
sinejespersen Aug 24, 2023
7308e00
DISPLAY-1028: add svg + logo component
sinejespersen Aug 24, 2023
8a2973f
DISPLAY-1028: updates to login page
sinejespersen Aug 24, 2023
ff516ba
DISPLAY-1028: use logo in sidebar
sinejespersen Aug 24, 2023
2285a25
DISPLAY-1028: fix minor accessibility issues
sinejespersen Aug 24, 2023
bc2370d
DISPLAY-1028: remove debugger
sinejespersen Aug 24, 2023
f8c37dd
DISPLAY-1028: revert debugging data
sinejespersen Aug 24, 2023
f327d46
DISPLAY-1028: update changelog
sinejespersen Aug 24, 2023
24a3fc6
DISPLAY-1028: apply coding standards
sinejespersen Aug 24, 2023
a7802b8
DISPLAY-1028: add todo
sinejespersen Aug 24, 2023
01617c3
DISPLAY-1028: remove unused t
sinejespersen Aug 24, 2023
eaa47d1
DISPLAY-1028: add admin to href
sinejespersen Aug 24, 2023
c9b17d2
DISPLAY-1028: remove double errormessage
sinejespersen Aug 24, 2023
13c9e77
DISPLAY-1028: replace button with input (tests)
sinejespersen Aug 25, 2023
969d137
DISPLAY-1028: replace button with input
sinejespersen Aug 25, 2023
944b2ee
DISPLAY-1028: add class in cypress
sinejespersen Aug 28, 2023
9f6c2d6
DISPLAY-1028: remove wait for slide
sinejespersen Aug 28, 2023
5de8627
DISPLAY-1028: change 1 to 0
sinejespersen Aug 28, 2023
9ed075c
DISPLAY-1028: spelling error + logo changes
sinejespersen Aug 31, 2023
67c6afb
DISPLAY-1028: revert debugging
sinejespersen Aug 31, 2023
572373d
DISPLAY-1028: replace dacity with facity
sinejespersen Sep 1, 2023
88d7b15
DISPLAY-1028: style login page better
sinejespersen Sep 1, 2023
5dbcb8c
Merge pull request #211 from os2display/feature/DISPLAY-1028-login-page
tuj Sep 1, 2023
34f9671
DISPLAY-1028: color of background
sinejespersen Sep 1, 2023
d315731
DISPLAY-1028: changelog + coding standards
sinejespersen Sep 1, 2023
ebf1052
Merge pull request #212 from os2display/feature/DISPLAY-1028-login-page
sinejespersen Sep 1, 2023
7d7775a
DISPLAY-1009: add focus trap to modals (accessibility)
sinejespersen Aug 28, 2023
df0d0fc
DISPLAY-1009: add nav item
sinejespersen Aug 28, 2023
cd8423b
DISPLAY-1009: add user files
sinejespersen Aug 28, 2023
13bcb7b
DISPLAY-1009: remove useless id
sinejespersen Aug 28, 2023
2a73cec
DISPLAY-1009: add todos
sinejespersen Aug 28, 2023
09a3093
DISPLAY-1009: add todos
sinejespersen Aug 28, 2023
4931309
DISPLAY-1009: apply coding standards
sinejespersen Sep 1, 2023
7fda667
DISPLAY-1009: add correct link to button
sinejespersen Sep 1, 2023
622da31
DISPLAY-1009: update changelog
sinejespersen Sep 1, 2023
548b36e
DISPLAY-993: Fixed OIDC login buttons
tuj Sep 5, 2023
6e24f7d
DISPLAY-993: Fixed login flow
tuj Sep 5, 2023
ec4b905
DISPLAY-993: Cleaned up manifest.json
tuj Sep 5, 2023
066a62d
DISPLAY-993: Cleaned up DOM
tuj Sep 5, 2023
3f916ac
DISPLAY-993: Set spinner when not ready
tuj Sep 6, 2023
ba112b0
DISPLAY-1009: add externalusers to hardcoded access config
sinejespersen Sep 6, 2023
fcc6536
DISPLAY-1009: fix tests
sinejespersen Sep 6, 2023
4f9de9c
Merge pull request #215 from os2display/feature/external-login-author…
tuj Sep 6, 2023
a68f221
Merge branch 'feature/external-login' into feature/DISPLAY-1009-creat…
tuj Sep 6, 2023
2129e05
DISPLAY-1009: cypress test
sinejespersen Sep 6, 2023
beef548
Merge pull request #213 from os2display/feature/DISPLAY-1009-create-user
tuj Sep 6, 2023
c7fd2ae
DISPLAY-1024: remove tenantselect from topbar
sinejespersen Sep 7, 2023
b1b3e7c
DISPLAY-1024: add tenant select to navbar
sinejespersen Sep 7, 2023
8c7a640
DISPLAY-1024: add locations in accessconfig
sinejespersen Sep 7, 2023
52736b6
DISPLAY-1024: move locations i navbar + mobile look
sinejespersen Sep 7, 2023
c9f9b77
DISPLAY-1024: cypress tests
sinejespersen Sep 7, 2023
b45a21d
DISPLAY-1024: cypress
sinejespersen Sep 7, 2023
5b04c90
DISPLAY-1024: cypress tests
sinejespersen Sep 7, 2023
34f4ca0
DISPLAY-993: Added login methods to config
tuj Sep 11, 2023
c74c929
DISPLAY-993: Removed link to unused logo
tuj Sep 11, 2023
145dccc
DISPLAY-993: Added updated api spec
tuj Sep 13, 2023
2355f7f
DISPLAY-993: Added external user activate flow
tuj Sep 13, 2023
a271e46
DISPLAY-1024: Change tenant selector styling
tuj Sep 14, 2023
c341f4b
DISPLAY-1024: Added checks to avoid null errors
tuj Sep 14, 2023
37418fd
DISPLAY-1024: Fixed prop type errors
tuj Sep 14, 2023
4e63145
DISPLAY-1024: Cleanup
tuj Sep 15, 2023
4c11091
DISPLAY-1024: Adjusted styling
tuj Sep 15, 2023
8d94f54
DISPLAY-1024: Fixed tests
tuj Sep 15, 2023
00e575e
DISPLAY-1024: Fixed issues raised by review
tuj Sep 15, 2023
df332ea
Merge pull request #217 from os2display/feature/DISPLAY-1024-input-lo…
tuj Sep 15, 2023
47a64ff
Merge branch 'feature/external-login' into feature/external-login-aut…
tuj Sep 15, 2023
eb3a21c
Merge branch 'develop' into feature/external-login
tuj Sep 16, 2023
c3f9e45
DISPLAY-993: Applied coding standards
tuj Sep 17, 2023
94e366f
DISPLAY-993: Added missing translation
tuj Sep 17, 2023
f01912b
Merge pull request #218 from os2display/feature/external-login-author…
tuj Sep 18, 2023
72c2e14
DISPLAY-993: Started work on adjusting external user admin to api spec
tuj Sep 19, 2023
f054b63
DISPLAY-993: Worked on crud
tuj Sep 20, 2023
54c3e72
DISPLAY-993: Finished activation crud
tuj Sep 20, 2023
8c6f286
DISPLAY-993: Added activate page
tuj Sep 20, 2023
ad8e7ea
DISPLAY-993: Refresh token when activated code to refresh tenants
tuj Sep 22, 2023
4bda92a
DISPLAY-993: Fixed access config and cleanup after logout
tuj Sep 22, 2023
8ca0f69
DISPLAY-993: Fixed user activation flow
tuj Sep 22, 2023
882c90e
DISPLAY-993: Adjusted tests to fit menu changes
tuj Sep 24, 2023
d6a882f
DISPLAY-993: Adjusted tests to fit menu changes
tuj Sep 24, 2023
0c5cb6a
DISPLAY-993: Changed oidc provider from ad to internal
tuj Sep 27, 2023
e446bf6
DISPLAY-993: Changed login methods to be configurable from config.json
tuj Sep 28, 2023
1fcc112
DISPLAY-993: Applied coding standards
tuj Sep 28, 2023
ca08a08
DISPLAY-993: Fixed infrastructure files
tuj Sep 28, 2023
9c1f1e6
DISPLAY-993: Updated api-spec and adjusted code to new spec
tuj Sep 29, 2023
62f7559
DISPLAY-993: Changed code to match changes in api
tuj Oct 5, 2023
39d5286
DISPLAY-993: Disable delete button for users that are not OIDC_EXTERNAL
tuj Oct 6, 2023
cecc1b2
DISPLAY-993: Fixed merge
tuj Oct 6, 2023
894c7e0
DISPLAY-993: Updated changelog
tuj Oct 6, 2023
51db22d
DISPLAY-993: Added ROLE_ADMIN to default roles for users endpoint
tuj Oct 6, 2023
97ecc47
Merge pull request #220 from os2display/feature/external-login-crud
tuj Oct 11, 2023
16ebd09
Merge branch 'develop' into feature/external-login
tuj Oct 13, 2023
5d5b8bf
DISPLAY-1093: Updated api spec
tuj Dec 8, 2023
60a664b
DISPLAY-1093: Aligned code with newest api spec
tuj Dec 11, 2023
c42db4c
DISPLAY-1093: Updated redux code for newest api spec
tuj Dec 11, 2023
4a0a3d9
Merge branch 'feature/external-login-align-with-develop' into feature…
tuj Dec 11, 2023
c0556e8
#394: Aligned with newest API spec
tuj Jan 22, 2024
d4c306b
Merge branch 'develop' into feature/external-login
tuj Jan 22, 2024
e932099
Merge branch 'develop' into feature/external-login
tuj Feb 23, 2024
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ json-server/

public/config.json
public/access-config.json
public/release.json
145 changes: 81 additions & 64 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,23 @@ All notable changes to this project will be documented in this file.
- [#227](https://github.com/os2display/display-admin-client/pull/227)
- Changed how theme is loaded following change to API
- Added fetch all to avoid removing slides when saving playlist and all slides have not been fetched.
- [#220](https://github.com/os2display/display-admin-client/pull/220)
- Adds CRUD flows for external users and activation codes.
- Added login and activation flow for external users.
- [#217](https://github.com/os2display/display-admin-client/pull/217)
- Move tenant dropdown to sidebar.
- [#215](https://github.com/os2display/display-admin-client/pull/215)
- Fixed OIDC login buttons.
- [#213](https://github.com/os2display/display-admin-client/pull/213)
- Added focus trap, to trap the keyboard focus in our modals.
- Added user list, create and edit.
- [#212](https://github.com/os2display/display-admin-client/pull/212)
- Updated color of login background.
- [#211](https://github.com/os2display/display-admin-client/pull/211)
- Updated login page.
- Cleaned up translations.
- Fixed some WCAG2.1 issues.
- Added os2display logo.
- [#225](https://github.com/os2display/display-admin-client/pull/225)
- Fixed caching issues when adding/removing playlists from slide.
- [#223](https://github.com/os2display/display-admin-client/pull/223)
Expand All @@ -24,164 +41,164 @@ All notable changes to this project will be documented in this file.
## [1.4.0] - 2023-09-14

- [#210](https://github.com/os2display/display-admin-client/pull/210)
Use thumbnails for media list if they are set
- Use thumbnails for media list if they are set.

## [1.3.3] - 2023-07-11

- [#208](https://github.com/os2display/display-admin-client/pull/208)
Fix version not set in release.json
- Fix version not set in release.json

## [1.3.2] - 2023-07-11

- [#207](https://github.com/os2display/display-admin-client/pull/207)
Fix incorrect values in auto build release.json in images
- Fix incorrect values in auto build release.json in images

## [1.3.1] - 2023-07-11

- [#206](https://github.com/os2display/display-admin-client/pull/206)
Added example_release.json file
- Added example_release.json file

## [1.3.0] - 2023-07-11

- [#205](https://github.com/os2display/display-admin-client/pull/205)
Setup separate image builds for itkdev and os2display
- Setup separate image builds for itkdev and os2display
- [#204](https://github.com/os2display/display-admin-client/pull/204)
Change docker image name from `os2display/os2display-admin-client`
to `os2display/display-admin-client` to match image name and
- Change docker image name from `os2display/os2display-admin-client`
to `os2display/display-admin-client` to match image name and
repository name
- [#200](https://github.com/os2display/display-admin-client/pull/200)
Update docker build to publish to "os2display" org on docker hub.
Update github workflow to latest actions.
Add github workflow to build and create release.
Change `example_config.json` to use relative paths.
- Update docker build to publish to "os2display" org on docker hub.
- Update github workflow to latest actions.
- Add github workflow to build and create release.
- Change `example_config.json` to use relative paths.
- [#202](https://github.com/os2display/display-admin-client/pull/202)
Remove zeroes when pagination button is not visible.
Save campaign before redirect.
- Remove zeroes when pagination button is not visible.
- Save campaign before redirect.
- [#201](https://github.com/os2display/display-admin-client/pull/201)
Updated poster and feed selection.
- Updated poster and feed selection.

## [1.2.7] - 2023-05-25

- [#197](https://github.com/os2display/display-admin-client/pull/197)
Add pagination to tables below multiselect dropdowns.
- Add pagination to tables below multiselect dropdowns.
- [#196](https://github.com/os2display/display-admin-client/pull/196)
Changed to handling rrule dates as UTC.
- Changed to handling rrule dates as UTC.
- [#194](https://github.com/os2display/display-admin-client/pull/195)
Fix button margin on mobile view.
- Fix button margin on mobile view.
- [#193](https://github.com/os2display/display-admin-client/pull/194)
Prevent screen-manager.js from redirecting before everything is saved.
- Prevent screen-manager.js from redirecting before everything is saved.
- [#192](https://github.com/os2display/display-admin-client/pull/193)
Readd and fix cypress tests.
-
- Re-added and fixed cypress tests.

## [1.2.6] - 2023-05-11

- [#197](https://github.com/os2display/display-admin-client/pull/197)
Add pagination to tables below multiselect dropdowns.
- Add pagination to tables below multiselect dropdowns.

## [1.2.5] - 2023-03-24

- [#191](https://github.com/os2display/display-admin-client/pull/191)
Fixed theme logo loading in slide preview.
Fixed error messages in slide manager.
- Fixed theme logo loading in slide preview.
- Fixed error messages in slide manager.

## [1.2.4] - 2023-03-24

- [#190](https://github.com/os2display/display-admin-client/pull/190)
Changed config loader to avoid competing promises.
- Changed config loader to avoid competing promises.
- [#189](https://github.com/os2display/display-admin-client/pull/189)
Fixed issue where playlist showed a maximum of 10 selected slides.
- Fixed issue where playlist showed a maximum of 10 selected slides.

## [1.2.3] - 2023-03-07

- [#188](https://github.com/os2display/display-admin-client/pull/188)
Fixed template sorting.
Removed option to change template after creation
- Fixed template sorting.
- Removed option to change template after creation
- [#187](https://github.com/os2display/display-admin-client/pull/187)
Added license.
- Added license.
- [#185](https://github.com/os2display/display-admin-client/pull/185)
Changed rich text defaultValue to avoid update loops.
Cleaned up rich text toolbar options.
- Changed rich text defaultValue to avoid update loops.
- Cleaned up rich text toolbar options.
- [#183](https://github.com/os2display/display-admin-client/pull/183)
Adds information about max file sizes.
- Adds information about max file sizes.

## [1.2.2] - 2023-02-08

- [#184](https://github.com/os2display/display-admin-client/pull/184)
Fix logo upload, and change image uploader to use hook selected
- Fix logo upload, and change image uploader to use hook selected
- [#182](https://github.com/os2display/display-admin-client/pull/182)
Make cypress tests run 3 times in GA, and set defaultCommandTimeout to 10000
- Make cypress tests run 3 times in GA, and set defaultCommandTimeout to 10000
- [#181](https://github.com/os2display/display-admin-client/pull/181)
Disable selected menu link
- Disable selected menu link
- [#180](https://github.com/os2display/display-admin-client/pull/180)
Make it possible to delete media from slide
- Make it possible to delete media from slide
- [#179](https://github.com/os2display/display-admin-client/pull/179)
Simplify info modal, remove pagination
- Simplify info modal, remove pagination

## [1.2.1] - 2023-01-13

- [#178](https://github.com/os2display/display-admin-client/pull/178)
add 8080 to port to make cypresstests run
- Added 8080 to port to make cypresstests run
- [#177](https://github.com/os2display/display-admin-client/pull/177)
css in name to cssstyles
- Css in name to cssstyles
- [#176](https://github.com/os2display/display-admin-client/pull/176)
css -> cssstyles in all places but not the request body
- Css -> cssstyles in all places but not the request body
- [#175](https://github.com/os2display/display-admin-client/pull/175)
update proptypes
rename cssstyles to css
give resolution a default value
- Update proptypes
- Rename cssstyles to css
- Give resolution a default value

## [1.2.0] - 2023-01-05

- [#174](https://github.com/os2display/display-admin-client/pull/174)
Added changelog.
Added github action to enforce that PRs should always include an update of the changelog.
- Added changelog.
- Added github action to enforce that PRs should always include an update of the changelog.
- [#172](https://github.com/os2display/display-admin-client/pull/172)
Fixed search issue for screens.
- Fixed search issue for screens.
- [#171](https://github.com/os2display/display-admin-client/pull/171)
Moved to page 1 after deletions.
- Moved to page 1 after deletions.
- [#170](https://github.com/os2display/display-admin-client/pull/170)
Fixed media library issue.
The css was not displayed in the theme page (create/edit).
Shared playlists in gantt are not clickable/do not redirect.
- Fixed media library issue.
- The css was not displayed in the theme page (create/edit).
- Shared playlists in gantt are not clickable/do not redirect.
- [#169](https://github.com/os2display/display-admin-client/pull/169)
Updated docker setup to match new itkdev base setup
- Updated docker setup to match new itkdev base setup
- [#168](https://github.com/os2display/display-admin-client/pull/168)
Fixed wrong link.
- Fixed wrong link.
- [#167](https://github.com/os2display/display-admin-client/pull/167)
Updated grid generator from 1.0.6 -> 1.0.8.
- Updated grid generator from 1.0.6 -> 1.0.8.

## [1.1.0] - 2022-10-06

- [#166](https://github.com/os2display/display-admin-client/pull/166)
Updated react to 18.
- Updated react to 18.
- [#164](https://github.com/os2display/display-admin-client/pull/164)
Removed 0 in calendar view screen.
- Removed 0 in calendar view screen.

## [1.0.3] - 2022-09-05

- [#163](https://github.com/os2display/display-admin-client/pull/163)
Moved gantt chart to edit pages.
- Moved gantt chart to edit pages.
- [#162](https://github.com/os2display/display-admin-client/pull/162)
Added dropdown for resolution/orientation on screen.
Removed screen width/height.
- Added dropdown for resolution/orientation on screen.
- Removed screen width/height.
- [#161](https://github.com/os2display/display-admin-client/pull/161)
Changed default duration from 10 to 15 s.
- Changed default duration from 10 to 15 s.
- [#159](https://github.com/os2display/display-admin-client/pull/159)
Refactored theme-manager (as the other elements have that as well, slide-manager e.g.).
Added logo to theme form.
Save theme logo.
- Refactored theme-manager (as the other elements have that as well, slide-manager e.g.).
- Added logo to theme form.
- Save theme logo.

## [1.0.2] - 2022-06-02

- [#158](https://github.com/os2display/display-admin-client/pull/158)
Added slide class to remote component.
- Added slide class to remote component.

## [1.0.1] - 2022-06-01

- [#157](https://github.com/os2display/display-admin-client/pull/157)
Changed class names to lower case.
- Changed class names to lower case.
- [#156](https://github.com/os2display/display-admin-client/pull/156)
Added check to station selector.
- Added check to station selector.

## [1.0.0] - 2022-05-18

Expand Down
2 changes: 1 addition & 1 deletion cypress.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"viewportHeight": 4000,
"defaultCommandTimeout": 10000,
"retries": {
"runMode": 3,
"runMode": 2,
"openMode": 0
}
}
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:

node:
image: node:14
command: npm start
command: yarn start
networks:
- app
working_dir: /app
Expand Down
3 changes: 3 additions & 0 deletions infrastructure/itkdev/etc/confd/templates/access-config.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"groups": {
"roles": ["ROLE_ADMIN"]
},
"users": {
"roles": ["ROLE_EXTERNAL_USER_ADMIN"]
},
"shared": {
"roles": ["ROLE_ADMIN"]
}
Expand Down
24 changes: 23 additions & 1 deletion infrastructure/itkdev/etc/confd/templates/config.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
{
"api": "{{ getenv "API_PATH" "/" }}",
"touchButtonRegions": "{{ getenv "APP_TOUCH_BUTTON_REGIONS" "false"}}"
"touchButtonRegions": "{{ getenv "APP_TOUCH_BUTTON_REGIONS" "false"}}",
"loginMethods": [
{
"type": "oidc",
"enabled": "{{ getenv "APP_ENABLE_INTERNAL_LOGIN" "true"}}",
"provider": "internal",
"label": null,
"icon": "faCity"
},
{
"type": "oidc",
"enabled": "{{ getenv "APP_ENABLE_EXTERNAL_LOGIN" "true"}}",
"provider": "external",
"label": "",
"icon": "mitID"
},
{
"type": "username-password",
"enabled": "{{ getenv "APP_ENABLE_USERNAME_PASSWORD_LOGIN" "true"}}",
"provider": "username-password",
"label": null
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"groups": {
"roles": ["ROLE_ADMIN"]
},
"users": {
"roles": ["ROLE_EXTERNAL_USER_ADMIN"]
},
"shared": {
"roles": ["ROLE_ADMIN"]
}
Expand Down
24 changes: 23 additions & 1 deletion infrastructure/os2display/etc/confd/templates/config.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
{
"api": "{{ getenv "API_PATH" "/" }}",
"touchButtonRegions": "{{ getenv "APP_TOUCH_BUTTON_REGIONS" "false"}}"
"touchButtonRegions": "{{ getenv "APP_TOUCH_BUTTON_REGIONS" "false"}}",
"loginMethods": [
{
"type": "oidc",
"enabled": "{{ getenv "APP_ENABLE_INTERNAL_LOGIN" "true"}}",
"provider": "internal",
"label": null,
"icon": "faCity"
},
{
"type": "oidc",
"enabled": "{{ getenv "APP_ENABLE_EXTERNAL_LOGIN" "true"}}",
"provider": "external",
"label": "",
"icon": "mitID"
},
{
"type": "username-password",
"enabled": "{{ getenv "APP_ENABLE_USERNAME_PASSWORD_LOGIN" "true"}}",
"provider": "username-password",
"label": null
}
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dayjs": "^1.10.7",
"dompurify": "^2.3.3",
"eslint-plugin-jsdoc": "^35.4.3",
"focus-trap-react": "^10.2.1",
"i18next": "^21.6.14",
"lodash.find": "^4.2.0",
"lodash.get": "^4.4.2",
Expand Down
3 changes: 3 additions & 0 deletions public/example-access-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"groups": {
"roles": ["ROLE_ADMIN"]
},
"users": {
"roles": ["ROLE_EXTERNAL_USER_ADMIN"]
},
"shared": {
"roles": ["ROLE_ADMIN"]
}
Expand Down
24 changes: 23 additions & 1 deletion public/example_config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
{
"api": "/",
"touchButtonRegions": false
"touchButtonRegions": false,
"loginMethods": [
{
"type": "oidc",
"enabled": true,
"provider": "internal",
"label": null,
"icon": "faCity"
},
{
"type": "oidc",
"enabled": true,
"provider": "external",
"label": "",
"icon": "mitID"
},
{
"type": "username-password",
"enabled": true,
"provider": "username-password",
"label": null
}
]
}
Loading
Loading