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

Authentication: Keycloak and client in API Cloud Gateway #12

Closed
8 tasks done
maciejgz opened this issue Sep 16, 2023 · 0 comments · Fixed by #22
Closed
8 tasks done

Authentication: Keycloak and client in API Cloud Gateway #12

maciejgz opened this issue Sep 16, 2023 · 0 comments · Fixed by #22
Assignees
Milestone

Comments

@maciejgz
Copy link
Owner

maciejgz commented Sep 16, 2023

Based on the https://andifalk.gitbook.io/spring-cloud-gateway-workshop/hands-on-labs/lab3 asdd authentication to API Gateway

  • setup keycloak in Docker with postgres as a database and volume
  • configure Keycloak
  • connect API Gateway to Keycloak locally
  • pass credentials to services
  • connect services to keycloak
  • map keycloak roles to Spring authorities
  • write keycloak JWT decoder
  • connect API Gateway to Keycloak in K8S
@maciejgz maciejgz self-assigned this Sep 16, 2023
@maciejgz maciejgz added this to the local-k8s milestone Sep 30, 2023
@maciejgz maciejgz changed the title Add authentication: Keycloak and client in API Cloud Gateway Authentication: Keycloak and client in API Cloud Gateway Oct 5, 2023
maciejgz added a commit that referenced this issue Oct 6, 2023
- keycloak docker deployment
maciejgz added a commit that referenced this issue Oct 7, 2023
- keycloak connected with API Gateway
- keycloak JWT Tokens passed to services
maciejgz added a commit that referenced this issue Oct 8, 2023
- roles extracted from keycloak JWT
- pre-authorization enabled on API methods
maciejgz added a commit that referenced this issue Oct 8, 2023
- k8s config
@maciejgz maciejgz linked a pull request Oct 8, 2023 that will close this issue
maciejgz added a commit that referenced this issue Oct 8, 2023
#12 authentication

- keycloak docker deployment
- keycloak connected with API Gateway
- keycloak JWT Tokens passed to services
- roles extracted from keycloak JWT
- pre-authorization enabled on API methods
- k8s config
maciejgz added a commit that referenced this issue Nov 3, 2024
- docs cleanup
- strapi module removed
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 a pull request may close this issue.

1 participant