Code Monkey home page Code Monkey logo

keycloak-google-one-tap's Introduction

Keycloak Google One-Tap

This extension for Keycloak, enables token-exchange for the IdToken supplied by Sign in with Google One-Tap SDKs.

Google ID-Token

If you're using Google One-Tap to Sign in with Google SDKs for web or native apps then you get an id-token. Keycloak doesn't support exchanging this token for an accessToken of it's own using token-exchange. This extension provides a Google One-Tap Identity provider which supports this.

The extension uses the Google Client API library to verify the authenticity of the token. The extension also packages the Google Client API library and is supplied as a shadow jar.

Installation

  1. Deploy by adding jar to /opt/keycloak/providers/
  2. Restart Keycloak.

Docker

If you're using docker, you can install the provider by adding it to

ADD --chown=keycloak:keycloak https://github.com/avatsav/keycloak-google-one-tap/releases/download/{version}/apple-identity-provider-{version}.jar /opt/keycloak/providers/apple-identity-provider-{verison}.jar

Compatibility

The version of this library mirrors the compatible keycloak version, so you can find the right version that suits your keycloak version in the releases.

Note

Starting Keycloak v21 since some additional properties such as Hosted Domain, Use userIp param and Request refresh token are not displayed in the Admin UI when configuring the extension.

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.