GithubHelp home page GithubHelp logo

emrahcom / kratos-selfservice-svelte-node Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 5.0 172 KB

Self-service Svelte node for Ory Kratos

JavaScript 5.46% HTML 1.36% Svelte 67.14% TypeScript 26.03%
ory-kratos sveltekit authentication svelte

kratos-selfservice-svelte-node's People

Contributors

emrahcom avatar finalspy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kratos-selfservice-svelte-node's Issues

Hurdles to getting started

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.

Issue with the registration flow

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.