{"id":13596827,"url":"https://github.com/spa5k/kratos-next","last_synced_at":"2025-05-05T09:31:24.533Z","repository":{"id":45551694,"uuid":"399807217","full_name":"spa5k/kratos-next","owner":"spa5k","description":"Ory Kratos Next.Js Self Service Ui Example on typescript","archived":false,"fork":false,"pushed_at":"2023-02-24T22:20:41.000Z","size":350,"stargazers_count":24,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-11-06T20:44:25.518Z","etag":null,"topics":["kratos","nextjs","ory","ory-kratos","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spa5k.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-08-25T12:18:18.000Z","updated_at":"2024-04-07T10:42:39.000Z","dependencies_parsed_at":"2024-01-15T16:33:29.585Z","dependency_job_id":"dd41f440-4a02-45fe-bc8e-39a3e23a2d88","html_url":"https://github.com/spa5k/kratos-next","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spa5k%2Fkratos-next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spa5k%2Fkratos-next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spa5k%2Fkratos-next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spa5k%2Fkratos-next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spa5k","download_url":"https://codeload.github.com/spa5k/kratos-next/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224437392,"owners_count":17311006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kratos","nextjs","ory","ory-kratos","typescript"],"created_at":"2024-08-01T16:02:50.156Z","updated_at":"2024-11-13T11:21:35.288Z","avatar_url":"https://github.com/spa5k.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","Archived, Outdated, and WIP"],"sub_categories":["Ory Fosite"],"readme":"# Ory Kratos Next.Js Self Service Ui Example on typescript.\n\n![kratos](public/kratosLogo.svg)\n\nExtremely simple and minimal self service ui example on implementation of Kratos on Next.js without much abstraction for easier understanding of basic principles.\n\n![sample](public/kratosMe.png)\n\n## Steps.\n\n1. Run the docker by doing `docker-compose up`.\n2. It starts the Kratos server at `127.0.0.1:4433`.\n3. Run the next js by doing `yarn dev`.\n4. Open next js page on `127.0.0.1:3000`.\n\n## Things to consider.\n\nRemember that this example is using github oidc, so before starting it, add client secret and client id in [config](/config/kratos.yml) otherwise it won't start.\n\n## Flows implemented.\n\n- [x] Login\n- [x] Register\n- [x] Recovery\n- [x] Verification\n- [x] Dashboard\n- [x] Oidc\n\n### FAQs.\n\nThere are many things left to implement like unlinking and linking the accounts from settings, but that's out of the scope of this minimal example. I believe rest things can be easily implemented after reading the code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspa5k%2Fkratos-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspa5k%2Fkratos-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspa5k%2Fkratos-next/lists"}