Coder Social home page Coder Social logo

nxkeycloak's Introduction

TYPO3 Extension nxkeycloak

stability-beta TYPO3 V11 Minimum PHP Version GitHub CI status

This extension allows backend logins using a keycloak server.

Features

  • login via a configurable Keycloak server
  • create backend user records for new users (currently admin-only)
  • login existing (non-keycloak) user if email address matches

Missing Features

  • terminate Keycloak session on TYPO3 logoff
  • periodically check if Keycloak session is still active (and terminate TYPO3 session if not)
  • fetch group config from Keycloak to create non-admin users
  • fetch additional user data to decide if the user is allowed to log-in in a specific TYPO3 applications

Configuration

Keycloak

This extension needs a configured client in Keycloak. Go to your desired realm and create a new client using these configuration values:

  • Client ID: create an ID and take note for later use (use e.g. typo3)
  • Client Protocol: openid-connect
  • Access Type: confidential
  • enable Standard Flow
  • add these redirect URLs:
    • https://<TYPO3-domain>/typo3/*

Save the client then go to Credentials and copy the secret for later use.

TYPO3

This extension needs the following configuration values set in Install Tool:

  • clientId: the ID of the client created in Keycloak
  • clientSecret: the secret used to authenticate the client
  • host: the host of the Keycloak server. Must include the protocol and port (e.g. https://keycloak.netlogix.de:8080)
  • realm: the realm containing user data for this application

Note: Both clientID and clientSecret can be set using environment variables (NXKEYCLOAK_CLIENTID and NXKEYCLOAK_CLIENTSECRET) as well. Values set in Install Tool will be preferred in any case.

nxkeycloak's People

Contributors

phroust avatar

Watchers

James Cloos avatar Lars Lauger avatar Tobias Lückel avatar Julius Noack avatar  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.