Test and debug your theme
When building your page you want to see the result of your edit live.
To acheave that with Keycloakify simply eddit:
See the getKcContext()
call in the keycloakify-demo-app
project.
See the getKcContext() call in the keycloakify-demo-app#look_and_feel
project.
then if you run yarn start
you will see your login page display. Dont forget to remove mockPageId before releasing 😉.
The page is loaded with a default mock context.
To customize the mock kcContext please refer to this example.
Once you are done developping you want to test in an actual Keycloak instance to see if everything is working as expected.
Please refer to the related instruction printed on the console when running yarn keycloak
in your project.