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

feat: keycloak integration and s3 as a backend storage #2

Merged
merged 13 commits into from
Oct 22, 2024
Merged

feat: keycloak integration and s3 as a backend storage #2

merged 13 commits into from
Oct 22, 2024

Conversation

ymarcon
Copy link
Contributor

@ymarcon ymarcon commented Oct 21, 2024

In ENAC IT's keycloak:

  • added realm EERL federating the EPFL's LDAP
  • added icebreaker-admin role
  • added some users to this role
  • added clients: one for the ui (frontend) and one for the api (backend)

In frontend:

  • use of keycloak-js to openid connect to keycloak in EERL's realm
  • get roles from authenticated user
  • display gui features according to the admin role
  • send an access token to backend's endpoints requiring specific authorization

In backend:

  • some endpoints require proper authz
  • validate provided access token against keycloak
  • get user roles
  • authorize feature exec according to role

Copy link

@pierreleripoll pierreleripoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the usage of S3 for storing campaings Also keycloack works super nice

@ymarcon ymarcon merged commit 56a334b into main Oct 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants