Git Product home page Git Product logo

isabella232 / kratos-selfservice-ui-react-nextjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ory/kratos-selfservice-ui-react-nextjs

0.0 0.0 0.0 1.08 MB

A full reference implementation for designing your own login, registration, recovery, verification, ... pages using Ory Kratos' APIs.

Home Page: https://www.ory.sh/

License: Apache License 2.0

JavaScript 6.36% TypeScript 71.37% CSS 22.27%

kratos-selfservice-ui-react-nextjs's Introduction

Ory Kratos ReactJS / NextJS User Interface Reference Implementation

This repository contains a reference implementation for Ory Kratos' in ReactJS / NextJS. It implements all Ory Kratos flows (login, registration, account settings, account recovery, account verification).

If you only want to add authentication to your app, and not customize the login, registration, account recovery, ... screens, please check out the Ory Kratos Quickstart.

To learn more about using this app, how it is built, and how to customize it head over to the accompanying blog post which will be released soon!

The app itself you can see live at kratos-reference-ui-react-nextjs.vercel.app.


Usage


Environment

This application can be configured with the following environment variables (refer to the NextJS documentation to learn how to configure the application):

  • ORY_SDK_URL (required)
    The URL where ORY Kratos's Public API is located. If this app and ORY Kratos are running in the same private network, this should be the private network address (e.g. kratos-public.svc.cluster.local).

Example .env.local:

ORY_SDK_URL=http://localhost:4433/

Running Locally

The quickstart documentation guides developers to use port 4455 for the self-service UI. By default, NextJS uses port 3000. Use the -p or --port option of the next dev / next start commands to set the port number:

npm run dev -- -p 4455

kratos-selfservice-ui-react-nextjs's People

Contributors

aeneasr avatar bengthagemeister avatar lstellway avatar vinckr avatar web-kat avatar

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.