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

Provide alternative authorization with keycloak #126

Closed
blcham opened this issue Dec 27, 2023 · 5 comments · Fixed by #260, #268, #293 or #308
Closed

Provide alternative authorization with keycloak #126

blcham opened this issue Dec 27, 2023 · 5 comments · Fixed by #260, #268, #293 or #308
Assignees

Comments

@blcham
Copy link
Contributor

blcham commented Dec 27, 2023

Goal of the issue is to provide alternative authentication to the tool using keycloak module.

It should be done in a similar way as it was done for Record Manager, see kbss-cvut/record-manager#5, kbss-cvut/record-manager-ui#7. Also create docker-compose set up for fta-fmea-ui in folder deploy/keycloak-auth as can be seen in https://github.com/kbss-cvut/record-manager-ui/tree/main/deploy/keycloak-auth.

Note:

  • there exist already some docker-compose set up here but it has more docker services defined than needed.
  • you will need to switch database of fta-fmea-server to Graphdb (instead of RDF4j which was used until now). We did the same switch in Record Manager and we use now this service. Switch from RDF4J to Graphdb should not require any change of code.
  • keycloak authorization module was developed by us here. When an application user is configured using keycloak UI, the module automatically replicates some data into GraphDB database.
  • at the end we would like to add fta-fmea-ui and fta-fmea-server to set up https://github.com/kbss-cvut/record-manager-ui/blob/main/deploy/keycloak-auth/docker-compose.yml, thus it is good if you follow the same convention (or propose change also to the Record Manager)

A/C:

  • it is possible to configure fta-fma-ui to use keycloak authorization or internal authorization
  • unrelated part of the UI is hidden/disabled when keycloak authorization is enabled
  • there is a docker-compose set up in deploy/keycloak-auth that can be used run the tool. It should include database, fta-fmea-server and fta-fmea-ui.
  • graphdb is used in docker-compose set-up instead of rdf4j
@blcham
Copy link
Contributor Author

blcham commented Apr 18, 2024

@LaChope you can tackle frontend part of the ticket

@LaChope LaChope self-assigned this Apr 22, 2024
LaChope added a commit that referenced this issue Apr 29, 2024
LaChope added a commit that referenced this issue Apr 29, 2024
LaChope added a commit that referenced this issue May 3, 2024
LaChope added a commit that referenced this issue May 3, 2024
@LaChope
Copy link
Collaborator

LaChope commented May 3, 2024

Re-opening as not completed

@LaChope LaChope reopened this May 3, 2024
LaChope added a commit that referenced this issue May 3, 2024
LaChope added a commit that referenced this issue May 3, 2024
LaChope added a commit that referenced this issue May 3, 2024
LaChope added a commit that referenced this issue May 6, 2024
LaChope added a commit that referenced this issue May 6, 2024
LaChope added a commit that referenced this issue May 6, 2024
@LaChope
Copy link
Collaborator

LaChope commented May 8, 2024

Waiting for kbss-cvut/fta-fmea#87 to complete to continue this ticket.

LaChope added a commit that referenced this issue May 13, 2024
LaChope added a commit that referenced this issue May 13, 2024
LaChope added a commit that referenced this issue May 13, 2024
@blcham blcham reopened this May 13, 2024
@blcham
Copy link
Contributor Author

blcham commented May 13, 2024

Reopening as only UI was merged.

@LaChope LaChope linked a pull request May 18, 2024 that will close this issue
@LaChope LaChope linked a pull request May 18, 2024 that will close this issue
@LaChope
Copy link
Collaborator

LaChope commented May 18, 2024

#308 fixed logout issue and OIDC context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants