This repository shows bare minimum for integrating Zitadel with Django and React
Note that this is just an example, source code is not in the best shape
- Docker and docker-compose
- Run
docker-compose up
- Open
localhost:8080 - Login with:
- Username: zitadel-admin@zitadel.localhost
- Password: Password1!
- Open
Create Project - Name your project e.g.
Test - Click on
+box to create new application - Name your application e.g.
React - Choose
User Agent - Click
Continue - Choose
PKCE - Click
Continue - Put
http://localhost:5173/into URLs - Click
ContinueandCreate - Save client secret and put it into
clientIdunderfrontend/src/main.jsxat line 8 - Go to
Projects -> YOUR PROJECT NAME -> YOUR APP NAME -> Redirect Settings - Enable
Development Mode - Go back to
Projectsand chooseYOUR PROJECT NAME - Click on
+box to create new application - Name your application e.g.
Backend - Choose
API - Click
Continue - Choose
Basic - Click
ContinueandCreate - Copy
ClientIdandClientSecretand put them indocker-compose.ymlunderapiservice
Now you are ready to open http://localhost:5173 to play with React app