commit 6bd4ae1955480bd1758e42bfc420f970de01e8bc Author: JesusPerez Date: Tue Feb 22 20:28:39 2022 +0000 Init repo diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..658e171 --- /dev/null +++ b/.gitignore @@ -0,0 +1,157 @@ +Cargo.lock +target +.k +OLD +tries +tmp +# enviroment to load on bin/build +.env + +# where souce code is clone with git +clone + +# where tools command are found +tools + +# where pipeline templates are found +templates + +# OSX leaves these everywhere on SMB shares +._* + +# OSX trash +.DS_Store + +# Eclipse files +.classpath +.project +.settings/** + +# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA +.idea/ +*.iml + +# Vscode files +.vscode + +# This is where the result of the go build goes +/output*/ +/_output*/ +/_output + +# Emacs save files +*~ +\#*\# +.\#* + +# Vim-related files +[._]*.s[a-w][a-z] +[._]s[a-w][a-z] +*.un~ +Session.vim +.netrwhist + +# cscope-related files +cscope.* + +# Go test binaries +*.test +/hack/.test-cmd-auth + +# JUnit test output from ginkgo e2e tests +/junit*.xml + +# Mercurial files +**/.hg +**/.hg* + +# Vagrant +.vagrant +network_closure.sh + +# Local cluster env variables +/cluster/env.sh + +# Compiled binaries in third_party +/third_party/pkg + +# Also ignore etcd installed by hack/install-etcd.sh +/third_party/etcd* +/default.etcd + +# User cluster configs +.kubeconfig + +.tags* + +# Version file for dockerized build +.dockerized-kube-version-defs + +# Web UI +/www/master/node_modules/ +/www/master/npm-debug.log +/www/master/shared/config/development.json + +# Karma output +/www/test_out + +# precommit temporary directories created by ./hack/verify-generated-docs.sh and ./hack/lib/util.sh +/_tmp/ +/doc_tmp/ + +# Test artifacts produced by Jenkins jobs +/_artifacts/ + +# Go dependencies installed on Jenkins +/_gopath/ + +# Config directories created by gcloud and gsutil on Jenkins +/.config/gcloud*/ +/.gsutil/ + +# CoreOS stuff +/cluster/libvirt-coreos/coreos_*.img + +# Juju Stuff +/cluster/juju/charms/* +/cluster/juju/bundles/local.yaml + +# Downloaded Kubernetes binary release +/kubernetes/ + +# direnv .envrc files +.envrc + +# Downloaded kubernetes binary release tar ball +kubernetes.tar.gz + +# generated files in any directory +# TODO(thockin): uncomment this when we stop committing the generated files. +#zz_generated.* +zz_generated.openapi.go +zz_generated_*_test.go + +# TODO(roycaihw): remove this when we stop committing the generated definition +!staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go +# low-change blueprint in code-generator to notice changes +!staging/src/k8s.io/code-generator/_examples/apiserver/openapi/zz_generated.openapi.go +# low-change sample-apiserver spec to be compilable when published +!staging/src/k8s.io/sample-apiserver/pkg/generated/openapi/zz_generated.openapi.go + +# make-related metadata +/.make/ + +# Just in time generated data in the source, should never be committed +/test/e2e/generated/bindata.go + +# This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored +!\.drone\.sec + +# Godeps workspace +/Godeps/_workspace + +/bazel-* +*.pyc + +# generated by verify-vendor.sh +vendordiff.patch diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9e99d82 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020-2022 Jesús Pérez Lorenzo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..d402e8d --- /dev/null +++ b/README.md @@ -0,0 +1,82 @@ +# Libre SingIn + +Fork me on GitHub + +## A go-between for authorization services and applications to make them 'libre' and easy to use + +This was created to as middleware for users and develpers to make services and applications ease to use and 'libre' + +## Description + + Use several authorization services in Clouds and applications access from one pluggable layer in front line + +> __IMPORTANT__ +> __This is in pre-alpha state__ +> +> Load configuration and settings +> basic connection to Kratos +> basic webserver with ssl + +### Features + +- __Middleware__: connect to Authorization Services like [Ory Kratos](https://www.ory.sh/kratos/) for Applications as SingIn/Out endpoints +- __Authority__: manage credentials transparently for users as almost a single sign on service +- __Policies__: enforce services and mesh to security definitions helping in secure traffic +- __Traceable__: full use of APIs and pluggale design to include tracing and telemetry helping in tracking and scale +- __WebServer__: SSL, File server, Token auth, Tera Templates, provides admin UI and end user interface +- __Multilang__: language autosense and language request responses +- __DataServer__: handle several DdataStores(hash, json-yaml-toml,Redis,MySQL,PostgreSQL) directly or via Async GraphQL. Caching and preload +- __Auth Server Provider__: JWT, authentication policies (Casbin), handle users via datastores, sessions and profiles via key-value stores, encrypt/decrypt data +- __Customizable Server__: resources, settings, modules, run-levels, licenses and versioning + +## Requirements for build + + +## Build from source + +- Clone this repository and go to folder: + +```bash +git clone +cd libresignin +``` + +- Build: + +```bash +cargo build +``` + +- Install (): + +```bash +``` + + +## Config Example + +```toml + +``` + +## Environment + +Main vars: + +Use to preset settings: + +| Arg | Env. var | +|---|---| + + + +## Author + +- [Jesús Pérez](https://github.com/jesusperez). + + +## References + +## License + +MIT diff --git a/logo/libresignin_b.svg b/logo/libresignin_b.svg new file mode 100644 index 0000000..c7b7784 --- /dev/null +++ b/logo/libresignin_b.svg @@ -0,0 +1 @@ +Recurso 10Libresignin \ No newline at end of file diff --git a/logo/libresignin_w.svg b/logo/libresignin_w.svg new file mode 100644 index 0000000..0d9ef2f --- /dev/null +++ b/logo/libresignin_w.svg @@ -0,0 +1 @@ +Recurso 9Libresignin \ No newline at end of file