GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dnaitsabes/spring-angular-keycloak: Blog post: Keycloak - uwierzytelnianie i autoryzacja użytkownika w aplikacji Angular/Spring Boot.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
backend
backend
 
 
frontend
frontend
 
 
gradle/wrapper
gradle/wrapper
 
 
realm
realm
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

spring-angular-keycloak-demo

Spring Boot + Angular + Keycloak implementation with common configuration.

Keycloak Server

Run:

docker run --rm --name keycloak-server -p 8180:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -e KEYCLOAK_IMPORT=/realm/realm-export.json -v $(pwd)/realm/:/realm/ jboss/keycloak

Admin Console:
http://127.0.0.1:8180/auth/admin/
admin:admin

Available users:
user:password with role user_role
user2:password2 with default roles

Application

Build:

docker build -t michuu93/spring-angular-keycloak-demo .

Run:

docker run --rm --name spring-angular-keycloak-demo --network host michuu93/spring-angular-keycloak-demo

Use --network host to solve the problem connecting the container with the application to the container with keycloak.
It's a quick solution without editing /etc/hosts.

Open:
http://localhost:9082/

About

Blog post: Keycloak - uwierzytelnianie i autoryzacja użytkownika w aplikacji Angular/Spring Boot.

blog.consdata.tech/2020/02/01/keycloak-uwierzytelnianie-autoryzacja-springboot-angular.html

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.