- Try to initialize registration request in popup window with window.open and watch at cookie and flow
- Be sure to have the @angular/cli installed globally via npm (if you need to, download and install nodejs in advance to use npm)
git clonethe repository to your machinecdinto it- run
npm i - run
ng build --watch - run
docker-compose -f docker/docker-compose.yml up -dto start up the api server (if not successfull, trydocker-compose -f docker/docker-compose.yml upand watch out for errors) - open your browser at
http://localhost:4200
- Via
npm i -g @angular/cliglobally - Install docker on a windows machine
- Started an angular project with ng new
- Set up the
./docker/docker-compose.ymlfile and corresponding config files to be able to easily startup the ory/kratos api server. - Installed the ory/kratos sdk (https://www.npmjs.com/package/@oryd/kratos-client)
- Provided the PublicApi Class inside the
app.module.tsand wrote a litte factory function to be have only one instance of it in the whole project and to be able to inject it reg. to dependency injection. - Defined the basepath in the environment file to point at the api.
Please help me and the ory developers to test and discover difficulties with the typescript sdk for ory/kratos