Giter Club home page Giter Club logo

keycloak-resource-server's Introduction

Keycloak Resource Server Integration with Spring Boot

CI License: MIT
This project demonstrates the integration of Spring Boot with Keycloak, a popular open-source Identity and Access Management (IAM) solution, using Gradle as the build tool. The project showcases how to secure a Spring Boot RESTful API as a resource server using Keycloak for authentication and authorization (Route and Method based).

Features:

Secure RESTful API: Protects endpoints or methods of a Spring Boot application with Keycloak security.
Keycloak Integration: Demonstrates how to configure Spring Boot to work with Keycloak as an Identity Provider (IdP).
Gradle Build: Utilizes Gradle as the build tool for managing dependencies and building the project.

Technologies Used:

Spring Boot: Provides the foundation for building secure, production-grade applications.
Keycloak: Offers powerful IAM capabilities, including single sign-on (SSO) and OAuth 2.0/OpenID Connect integration.
Gradle: Facilitates project management, dependency resolution, and building Java applications.

Getting Started:

Clone Repository: Clone the keycloak-resource-server repository to your local machine.
Configure Keycloak: Set up a Keycloak instance and define a realm, client, and user roles.
Configure Spring Boot: Update the Spring Boot application properties to specify the Keycloak realm, client ID, and issuer URI.
Run Application: Start the Spring Boot application and verify the integration with Keycloak.
Explore Endpoints: Access the secured endpoints of the RESTful API and observe the Keycloak authentication & authorization process.


Contributing: Contributions to the project are welcome! Feel free to submit bug reports, feature requests, or pull requests via GitHub.

keycloak-resource-server's People

Contributors

shyakadev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.