diff options
| author | mo khan <mo@mokhan.ca> | 2025-02-27 13:56:52 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-02-27 13:56:52 -0700 |
| commit | 03136747dd80e8b9ded81a61e03e72e9c4beac11 (patch) | |
| tree | c1b6c7016399eba1c5ed624e715ae1bbb8095622 | |
| parent | d5bfefac388467bc99b7c7d48a74743d3598122b (diff) | |
Move src file to bin dir
| -rw-r--r-- | README.md | 42 | ||||
| -rwxr-xr-x | bin/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/.gitignore | 1 | ||||
| -rw-r--r-- | src/idp/README.md | 12 | ||||
| -rw-r--r-- | src/sp/README.md | 16 |
6 files changed, 42 insertions, 29 deletions
diff --git a/README.md b/README.md new file mode 100644 index 00000000..5b02c0e9 --- /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 daa15cc6..daa15cc6 100755 --- a/src/idp/main.rb +++ b/bin/idp diff --git a/src/sp/main.rb b/bin/sp index 68a0e3db..68a0e3db 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 1d3ed4c1..00000000 --- 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 a9d8f2a7..00000000 --- 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 c7894a62..00000000 --- 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. |
