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
- Host: GitHub
- URL: https://github.com/eea/eea.keycloak-eulogin
- Owner: eea
- License: apache-2.0
- Created: 2020-01-23T14:04:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T17:39:44.000Z (over 3 years ago)
- Last Synced: 2025-03-25T04:51:14.480Z (about 1 year ago)
- Language: Java
- Size: 755 KB
- Stars: 4
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# eea.keycloak-eulogin
Keycloak CAS plugin for EULogin
[](https://maven-badges.herokuapp.com/maven-central/io.github.johnjcool/keycloak-cas-services) [](https://travis-ci.com/johnjcool/keycloak-cas-services) [](https://sonarcloud.io/dashboard/index/io.github.johnjcool%3Akeycloak-cas-services) [](https://sonarcloud.io/component_measures?id=io.github.johnjcool%3Akeycloak-cas-services&metric=coverage) [](https://sonarcloud.io/component_measures?id=io.github.johnjcool%3Akeycloak-cas-services&metric=bugs) [](https://sonarcloud.io/component_measures?id=io.github.johnjcool%3Akeycloak-cas-services&metric=code_smells) [](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!**