Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohitsuman/keycloak-demo-angular
Keycloak Authentication for a REST service using Angular JS and patternfly.
https://github.com/mohitsuman/keycloak-demo-angular
Last synced: 3 months ago
JSON representation
Keycloak Authentication for a REST service using Angular JS and patternfly.
- Host: GitHub
- URL: https://github.com/mohitsuman/keycloak-demo-angular
- Owner: mohitsuman
- License: apache-2.0
- Created: 2016-07-12T21:09:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-25T19:51:15.000Z (almost 8 years ago)
- Last Synced: 2024-03-15T13:21:01.340Z (4 months ago)
- Language: HTML
- Size: 6.14 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-patternfly - Keycloak Demo
README
# Authentication with Keycloak for backend service using AngularJS, Patternfly UI
## Download Keyclock server
Open Source Identity and Access Management for modern Applications and Services.
For more information about Keycloak visit [Keycloak homepage](http://keycloak.org) and [Keycloak Download](http://www.keycloak.org/downloads.html).
- Start up Keycloak by using one of the Standalone executeables in the /bin directory of Keycloak which will start Keycloak immediately by using the bundled WildFly application server.
./standalone.sh -Djboss.socket.binding.port-offset=100
After the startup, open up a browser and navigate to [http://localhost:8180](http://localhost:8180)
## Building
Ensure you have JDK 8 (or newer), Maven 3.2.1 (or newer) and Git installed
java -version
mvn -version
git --version## Run with standalone Tomcat
To run the project with embedded Tomcat by maven:
mvn spring-boot:run
Then navigate to [http://localhost:8000](http://localhost:8000) to see the application in action.
### Using Angular-PatternFly in the Application
1. Add Angular and Angular-PatternFly as a dependencies for the project
$ bower install angular --save
$ bower install angular-patternfly --save
$ bower install patternfly --save2. Add the following CSS include to your HTML file(s):
3. Add the following script includes to the HTML file(s):