I played around with Zitadel. It looked a bit too confusing with too many UI options in it.
My tech stack is this: React on frontend, NestJs on backend, React Native for mobile app (this is currently not in scope, so my playground at the moment is web app and backend).
Then I went to structure the Zitadel like this: 1 Organization has -> 1 Project has -> 2 Application.
Applications:
- 1 User Agent (this I use on React side, I guess?)
- 1 Web app (this I use in NestJs, I guess?)
And both applications have PKCE flow as Authentication Method.
Then I check the API for application type and it has only Private JWT authentication method.
Can I have then 1 Web App/User Agent and 1 API application?
or 1 Web App and 1 User Agent?
And if I use API application with private key JWT, what should be the auth method for other application?
I have a question - what if I want to integrate Stack with React and NestJs app? I couldn't find any docs for a backend authentication.