adegoodyer / gin-ory-stack-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gin-ory-stack-demo

Overview

  • deep dive into Ory stack
    • Kratos - headless authentication and user management
    • Hydra - OAuth 2.0 and OpenID Connect server
    • Oathkeeper - identity and access proxy (IAP)
    • Keto - permission and authorization server
  • homepage
  • introduction
  • quick-start

Essential Docs

Project

Features

  • Ory stack
  • Gin router/web framework
  • viper configuration
  • Taskfiles

Goals

  • deploy kratos into k8s cluster
  • implement basic Bootstrap 5 app to use for testing
  • implement flows (excluding MFA for now) for browser server-side app using Gin
    • login
    • logout
    • registration
    • account-verification
    • account-recovery
    • error
    • update-user-settings
  • containerise app (Docker, docker-compose or k8s)
  • export into Gitlab
  • pipeline - container building (Gitlab action)

Future Iterations

  • MFA
  • Admin panel
  • Cobra CLI (instead of single flag processing)

Launch App

# create config/development.yaml and config/production.yaml (see examples in dir)

# build container
task container:build

# run container
task container:run

# http://127.0.0.1:8080

Additional Commands

task # list tasks and descriptions
task app:build
task app:run
task container:build
task container:delete
task container:run

About


Languages

Language:HTML 58.2%Language:Go 35.8%Language:CSS 3.5%Language:Dockerfile 2.5%