An open API service indexing awesome lists of open source software.

https://github.com/eea/eea.keycloak-eulogin

Keycloak CAS plugin for EULogin
https://github.com/eea/eea.keycloak-eulogin

Last synced: about 1 year ago
JSON representation

Keycloak CAS plugin for EULogin

Awesome Lists containing this project

README

          

# eea.keycloak-eulogin
Keycloak CAS plugin for EULogin

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.github.johnjcool/keycloak-cas-services/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.github.johnjcool/keycloak-cas-services) [![Build Status](https://travis-ci.com/johnjcool/keycloak-cas-services.svg?branch=master)](https://travis-ci.com/johnjcool/keycloak-cas-services) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=io.github.johnjcool%3Akeycloak-cas-services&metric=alert_status)](https://sonarcloud.io/dashboard/index/io.github.johnjcool%3Akeycloak-cas-services) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=io.github.johnjcool%3Akeycloak-cas-services&metric=coverage)](https://sonarcloud.io/component_measures?id=io.github.johnjcool%3Akeycloak-cas-services&metric=coverage) [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=io.github.johnjcool%3Akeycloak-cas-services&metric=bugs)](https://sonarcloud.io/component_measures?id=io.github.johnjcool%3Akeycloak-cas-services&metric=bugs) [![Code smells](https://sonarcloud.io/api/project_badges/measure?project=io.github.johnjcool%3Akeycloak-cas-services&metric=code_smells)](https://sonarcloud.io/component_measures?id=io.github.johnjcool%3Akeycloak-cas-services&metric=code_smells) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=io.github.johnjcool%3Akeycloak-cas-services&metric=security_rating)](https://sonarcloud.io/component_measures?id=io.github.johnjcool%3Akeycloak-cas-services&metric=security_rating)

Keycloak CAS Services
=====================

Using as maven dependency
-------------------------
You can use this module as dependency in your own modules.
```

io.github.johnjcool
keycloak-cas-services
4.8.3.Final

```

Manual Deployment
-----------------
1. Download keycloak version from [https://www.keycloak.org/](https://www.keycloak.org/)
2. Download corresponding keycloak-cas-services version from [maven central](https://search.maven.org/search?q=g:io.github.johnjcool%20AND%20a:keycloak-cas-services&core=gav)
3. Copy keycloak-cas-services-.jar to ```/standalone/deployments```
4. Start keycloak with ```/bin/standalone.```
5. Navigate to [http://localhost:8080](http://localhost:8080) and create an admin account

Using docker image
------------------
Start ready to use docker image:
```sh
docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=xxxxxx johnjcool/keycloak-cas
```

Central Authentication Service Configuration
--------------------------------------------
1. Navigate to [http://localhost:8080/auth/admin](http://localhost:8080/auth/admin)
2. Login with your admin credentials
3. Navigate to Themes **Important!!! You have to do this on master realm**
4. Switch Admin Console Theme to keycloak-extended
5. Signout
6. Login with your admin credentials
7. Navigate to Identity Providers
8. Add provider CAS
9. Configure CAS provider
10. Click Save
11. Navigate to Mappers to get Attributes from CAS
12. Configure Attribute Mapper for email, firstName, lastName
13. Signout and Central Authentication Service should be available

Optional Central Authentication Service Configuration
--------------------------------------------
1. Login with your admin credentials
2. Navigate to Authetication
3. Click on Actions/Config for Identity Provider Redirector
4. Set Alias and Default Identiy Provider to ```cas```
5. Signout and now you are automatically redirected to CAS for Login

**Have fun!**