Keycloakify
GitHubHomeStarter project
v6
  • Documentation
  • Release Notes & Upgrade Instructions
  • FAQ
v6
  • 👨‍💻Quick start
  • 🔩Keycloakify in my App
  • 📧Email customization
  • ✒️Terms and conditions
  • ✅Realtime input validation
  • ⚠️Limitations
  • 🌉Context persistence
  • 🌎i18n: msg(...)
  • 💂Email domain acceptlist
  • 🛑Keycloak error in log
  • 💟Contributing
  • 📖Build options
  • 🏁Requirements
  • ⬆️v5 -> v6
  • ⬆️v6.x -> v6.12
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub

Keycloakify in my App

PreviousQuick startNextEmail customization

Last updated 2 years ago

Was this helpful?

A Keycloakify theme do not need to be a standalone project. If you are building , which is the case when you use , you can install Keycloakify right into your project and build your login pages alongside the other pages of your app.

Before moving on and setting up Keycloakify in your project, first, mess around with to familiarize yourself with Keycloakify.

Once you think you are ready to move on:

yarn add keycloakify

add the following script

package.json
{
  "scripts": {
     ...
     "build-keycloak-theme": "yarn build && keycloakify"
  }
}

Git ignore the keycloak build directory:

.gitignore
...
/build_keycloak

That's it. You can build your App as a Keycloak theme with yarn build-keycloak-theme ``You might now want to have a look at the available build options:

🔩
create-react-app
the starter project
📖Build options
an SPA React application that you bundle with Webpack