Giter Club home page Giter Club logo

grootan / keycloak-oidc-java Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 12 KB

OpenID Connect using Java | OIDC is essentially a safe method for an application to access an identity provider, collect some user data, and safely return them to the application. The library will help you to interact with IAM. Java provides different APIs that support the application development process. The APIs can be used as commands or collaboration frameworks for different programming operations.

License: MIT License

Java 38.74% HTML 61.26%

keycloak-oidc-java's Introduction

Keycloak OpenId Connect Spring Boot Example

This is a Spring Boot app to test the Keycloak OpenID Connect Authorization Code flow.

Prerequisites

The application uses Spring, which includes Java SDK 1.8+ and Apache Maven 3.2+.

Setup

You can pull the source of this application and start configuring the parameters of your keycloak in app/src/main/resources/application.yml.

- Make sure you replace `keycloak-client-id` and `keycloak-client-secret` with your keycloak configuration.

- Also provide appropriate `<TOKEN_URL>`, `<AUTHORIZATION_URL>` & `<USERINFO_URL>`.

Run the sample

Run the package from your terminal with

    mvn spring-boot:run

Your app is available at http://localhost:8082 and you should see the Login button. To begin the login process, click on it.

What can I use these for

OpenID Connect is a perfect way to incorporate user authentication to your application, where you are relying on another party to handle user identity.

In this situation, Keycloak handles the identity of the users, allowing it faster to get up and running

Single Sign On (SSO)

By integrating OpenID Connect via Keycloak, you are building a session that can be used to single sign-on from your custom app to other applications that your users can access via the Keycloak portal.

If you have any queries/you find any problems, please don't hesitate to raise an issue.

keycloak-oidc-java's People

Contributors

achyuthgroot avatar lokeshgrootan avatar

Stargazers

Sriram Karthick avatar Leandro Neves avatar

Watchers

James Cloos 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.