Skip to content

Commit

Permalink
added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
robson90 committed Oct 7, 2024
1 parent c5b3930 commit 1fedfe7
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 10 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@

This Repository contains free to use Extensions for the OpenSource Project [Keycloak](https://github.com/keycloak/keycloak)

Contained Extensions:

* Rest-Endpoints
* GetUsersByIdResource -> <root_url>/admins/realms/<realm_name>/users-by-id
* QueryParams:
* briefRepresentation true | false
* listWithIds List containing Ids of Users
* Returns List of Users
This repo contains the following extensions:

## Authenticator-Required Action

You can add this Authenticator to your flow, so a User gets the defined Required-Action set on signing in.
[README.md - Authenticator-Required Action](./authenticator-required-action/README.md)

## Rest-Endpoints

* GetUsersByIdResource -> <root_url>/admins/realms/<realm_name>/users-by-id
* QueryParams:
* briefRepresentation true | false
* listWithIds List containing Ids of Users
* Returns List of Users
17 changes: 17 additions & 0 deletions authenticator-required-action/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Authenticator-Required Action

```mermaid
flowchart LR
CompanyA(RealmCompanyA)-->UsersA
CompanyB(RealmCompanyB)-->UsersB
UsersA-- Connected via Idp alias: CompanyA ---RealmConciso
UsersB-- Connected via Idp alias: CompanyB ---RealmConciso
```

The First Broker login of Idp CompanyA is configured to set the 'TERMS_AND_CONDITIONS' for all users from CompanyA. Users from CompanyB dont have to accept the terms, so they dont get that action.
![required-action-flow.png](../docs/pics/required-action-flow.png)

![required-action-authenticator-config.png](../docs/pics/required-action-authenticator-config.png)

To see your availabaddle Required-Actions, go to Realm 'master' -> Provider infor -> Search for 'req' or scroll down until you see 'required-action' in the column for SPI
![required-action-available-required-actions.png](../docs/pics/required-action-available-required-actions.png)
2 changes: 0 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
keycloak:
image: quay.io/keycloak/keycloak:23.0.4
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/pics/required-action-flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1fedfe7

Please sign in to comment.