Skip to content

Auth-Service using Keycloak for authentication, built with Java WebFlux and functional programming, includes noti-service for sending emails and messages.

License

Notifications You must be signed in to change notification settings

hoangtien2k3/keycloak-auth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c21d29e · Jan 10, 2025

History

6 Commits
Jan 10, 2025
Jan 10, 2025
Jan 10, 2025
Jan 10, 2025
Jan 10, 2025
Jan 10, 2025
Jan 10, 2025
Jan 9, 2025
Jan 10, 2025
Jan 9, 2025
Jan 9, 2025
Jan 9, 2025
Jan 10, 2025
Jan 10, 2025
Jan 9, 2025
Jan 9, 2025
Jan 10, 2025

Repository files navigation

keycloak-auth-service

Getting Started

Follow these steps to set up and run the backend:

  1. Clone the repository:
git clone https://github.com/hoangtien2k3/keycloak-auth-service.git
  1. Configure the database:

  2. Config file application.yml

    1. Change config file application.yml in auth-service and noti-service, noti-send
      • Config connect db R2DBC:

        • url: url: r2dbc:postgresql://localhost:5434/auth
        • username: admin
        • password: admin
      • Config keycloak:

        • clientId:
        • clientSecret
        • realm
        • serverUrl
        • grantType
        • host
  3. Setup docker-compose

#Open terminal Windown and Macos
docker-compose up -d
  1. Run each service in turn
  # Using Maven
  mvn spring-boot:run

runProject.png

runProject.png

runProject.png

Demo Call API

login.png

login.png

About

Auth-Service using Keycloak for authentication, built with Java WebFlux and functional programming, includes noti-service for sending emails and messages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published