Skip to content

Build and test dynamic styles for the CAS interface

Notifications You must be signed in to change notification settings

dannymk/cas-dynamic-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DO NOT USE THIS FOR PRODUCTION. It is only here as a way to figure out the dynamic styles

Based on: https://apereo.github.io/cas/development/ux/User-Interface-Customization-Themes.html

Requirements

  • Linux or Mac system
  • Docker
  • git

Build and test dynamic styles for the CAS interface

  1. git clone https://github.com/dannymk/cas-dynamic-style.git
  2. cd cas-dynamic-style
  3. git clone https://github.com/apereo/cas-overlay-template.git
  4. edit the file cas-overlay-template/build.gradle and add the following missing lines (as of this writting around line 74...)
dependencies {
    // Other CAS dependencies/modules may be listed here...
    // implementation "org.apereo.cas:cas-server-support-json-service-registry:${casServerVersion}"
    implementation "org.apereo.cas:cas-server-support-json-service-registry:${casServerVersion}"
    implementation "org.apereo.cas:cas-server-support-generic:${casServerVersion}"    
}
  1. sh runBuild
  2. sh run
  3. Navigate to http://localhost:8080/cas/login You will get the default template here...
  4. Navigate to http://localhost:8080/cas/login?service=http://mydomain.com You will get the template defined as "foo"

About

Build and test dynamic styles for the CAS interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published