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
Continue
andCreate
- Save client secret and put it into
clientId
underfrontend/src/main.jsx
at line 8 - Go to
Projects -> YOUR PROJECT NAME -> YOUR APP NAME -> Redirect Settings
- Enable
Development Mode
- Go back to
Projects
and chooseYOUR PROJECT NAME
- Click on
+
box to create new application - Name your application e.g.
Backend
- Choose
API
- Click
Continue
- Choose
Basic
- Click
Continue
andCreate
- Copy
ClientId
andClientSecret
and put them indocker-compose.yml
underapi
service
Now you are ready to open http://localhost:5173
to play with React app