Skip to content

Commit

Permalink
Merge branch 'master' of [email protected]:czetsuya/Spring-Keycloak-with…
Browse files Browse the repository at this point in the history
…-REST-API.git
  • Loading branch information
czetsuya committed Jan 5, 2020
2 parents 2c85b6a + 6505e67 commit 2164d3a
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/S6S0YXPX)

# Spring Project Secured with Keycloak

A demo project created to demonstrate how a Spring project can be secured using a Keycloak server via bearer token.
Expand All @@ -14,6 +12,14 @@ SpringDoc URLs:
- Keycloak server 6.0.1
- https://github.com/czetsuya/keycloak-react

*In case you will be using Keycloak version greater than 7.0.0, the Keycloak team has introduced the notion of feature and uploading the json file has become one of them. Sadly, it is disabled by default. To enable realm, upload run Keycloak with the given parameter:

```
standalone.bat -Dkeycloak.profile.feature.upload_scripts=enabled
```

Here's the documentation: https://www.keycloak.org/docs/latest/server_installation/, look at the profiles section.

## Note:

- Make sure that you have the same Keycloak client credentials value for the 2 project ands Keycloak server.
Expand All @@ -29,4 +35,4 @@ Role=Admin, admin / admin

## References

- https://github.com/springdoc/springdoc-openapi-maven-plugin
- https://github.com/springdoc/springdoc-openapi-maven-plugin

0 comments on commit 2164d3a

Please sign in to comment.