summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-02-27 13:56:52 -0700
committermo khan <mo@mokhan.ca>2025-02-27 13:56:52 -0700
commit03136747dd80e8b9ded81a61e03e72e9c4beac11 (patch)
treec1b6c7016399eba1c5ed624e715ae1bbb8095622
parentd5bfefac388467bc99b7c7d48a74743d3598122b (diff)
Move src file to bin dir
-rw-r--r--README.md42
-rwxr-xr-xbin/idp (renamed from src/idp/main.rb)0
-rwxr-xr-x[-rw-r--r--]bin/sp (renamed from src/sp/main.rb)0
-rw-r--r--src/idp/.gitignore1
-rw-r--r--src/idp/README.md12
-rw-r--r--src/sp/README.md16
6 files changed, 42 insertions, 29 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5b02c0e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,42 @@
+# Spike
+
+1. Thrift + GRPC
+ 1. idp (headless)
+ * provide a thrift/grpc endpoint that is the equivalent of `Ability.allowed?(subject, permission, resource)`
+ 1. gitlab
+2. OpenID Connect + OAuth
+ * two services
+ 1. idp (with login pages)
+ * user
+ * member
+ * `member_role`
+ 1. gitlab
+ * groups
+ * project
+ * OpenID transaction to provide authn information to `gitlab-org/gitlab`
+ * OAuth token introspection endpoint to provide token permissions
+3. API Gateway
+ * using golang reverse proxy and one of the new policy dsl's
+4. OPA agent style side car using declarative policy
+
+
+## Identity Provider (SAML IdP)
+
+This is a tiny SAML Identity Provider for testing out interactions with
+a SAML Service Provider
+
+1. Start the server:
+
+ $ ruby ./bin/idp
+
+1. Use `http://localhost:8282/metadata.xml` as your SAML IdP Metadata url.
+
+## Service Provider (SAML SP)
+
+This is a tiny SAML Service Provider for testing out interactions with a SAML Identity Provider (IdP)
+
+1. Start the server:
+
+ $ ruby ./bin/sp
+
+1. Use `http://localhost:8283/metadata.xml` as your SAML SP Metadata url.
diff --git a/src/idp/main.rb b/bin/idp
index daa15cc..daa15cc 100755
--- a/src/idp/main.rb
+++ b/bin/idp
diff --git a/src/sp/main.rb b/bin/sp
index 68a0e3d..68a0e3d 100644..100755
--- a/src/sp/main.rb
+++ b/bin/sp
diff --git a/src/idp/.gitignore b/src/idp/.gitignore
deleted file mode 100644
index 1d3ed4c..0000000
--- a/src/idp/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-config.yml
diff --git a/src/idp/README.md b/src/idp/README.md
deleted file mode 100644
index a9d8f2a..0000000
--- a/src/idp/README.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# SAML IdP
-
-This is a tiny SAML Identity Provider for testing out interactions with
-a SAML Service Provider
-
-## Getting Started
-
-1. Start the server:
-
- $ ruby main.rb
-
-1. Use `http://localhost:8282/metadata.xml` as your SAML IdP Metadata url.
diff --git a/src/sp/README.md b/src/sp/README.md
deleted file mode 100644
index c7894a6..0000000
--- a/src/sp/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# SAML SP
-
-This is a tiny SAML Service Provider for testing out interactions with
-a SAML Identity Provider (IdP)
-
-## Getting Started
-
-1. Start the server:
-
- $ ruby main.rb
-
-1. Start ngrok
-
- $ ngrok http 8283
-
-1. Use `https://<xxxx>.ngrok.io/metadata.xml` as your SAML SP Metadata url.