emrahcom / kratos-selfservice-svelte-node Goto Github PK
View Code? Open in Web Editor NEWSelf-service Svelte node for Ory Kratos
Self-service Svelte node for Ory Kratos
This is more a support request than a real issue with the code: I'm totally new to the Ory Kratos architecture and I'm in the process to learn how to use it. Is this project supposed to be a total replacement for Kratos UI application? I'm asking this because it seems I'm not able to run this node seamlessy without using kratos-selfservice-ui-node
up. For example, when I issue a registration POST request after compiling username/password fields, it seems that the node is expecting the forementioned service to be reachable. Am I missing something? Alternatively, could I kindly ask you to provide an example of kratos.yml/docker-compose.yml configuration files that can be used to run the node? Thank you for the amazing work and waiting for contribute back.
I'm trying to get this example running, and I've encountered a few hurdles:
.svelte-kit/tsconfig.json
, which is extended by tsconfig.json
, is missing in the cloned repository. I had to create the directory and copy in a file from an existing SvelteKit project to get rid of the error.
I also got an error about App.PageError
being renamed to App.Error
in src/app.d.ts
. Even though this is part of the code that has been commented out, I had to rename it before the app would run.
Next, it's not clear to me from the readme what is meant by the following:
export const KRATOS = "https://___KRATOS_FQDN___";
export const APP = "https://___APP_FQDN___";
What does FQDN mean? Perhaps these could be named more clearly to indicate what they are. Also, would it make sense to keep them in a .env
file?
I'd also like to suggest making variable names such as pr
and dm
more descriptive.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.