feat: add M2M auth flow to stitch-client and ensure appropriate API handling#86
Open
mbarlow12 wants to merge 6 commits into
Open
feat: add M2M auth flow to stitch-client and ensure appropriate API handling#86mbarlow12 wants to merge 6 commits into
stitch-client and ensure appropriate API handling#86mbarlow12 wants to merge 6 commits into
Conversation
CD summary
|
| service | url | fqdn |
|---|---|---|
| api | open | pr86-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| entity-linkage | open | pr86-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| frontend | https://witty-mushroom-017a3dc1e-86.westus2.1.azurestaticapps.net | |
| stitch-llm | open | pr86-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
Database (1)
| db_name | postgres_host | postgres_port | postgres_db |
|---|---|---|---|
| pr_86 | stitch-dev.postgres.database.azure.com |
5432 |
pr_86 |
Jobs (2)
| job | image | postgres_db | api_url |
|---|---|---|---|
| db-init | ghcr.io/rmi/stitch-api:pr86@sha256:37bc8800f2820831c95f0e39d0671a235e26464d26d733cc9b10a67c37dfa70d |
pr_86 |
|
| seed | ghcr.io/rmi/stitch-seed:pr86@sha256:b2f0bcf7cb2b5e324cc21c1ddfe32c2a78ff739108102653543a233aa1713d6a |
https://pr86-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io/api/v1 |
Images (4)
| build_time | commit_time | git_sha | image | image_digest |
|---|---|---|---|---|
| 2026-05-08T19:53:43Z | 2026-05-08T19:53:30Z | 4d77bb1 | ghcr.io/rmi/stitch-api:pr86 |
ghcr.io/rmi/stitch-api:pr86@sha256:37bc8800f2820831c95f0e39d0671a235e26464d26d733cc9b10a67c37dfa70d |
| 2026-05-08T19:53:50Z | 2026-05-08T19:53:30Z | 4d77bb1 | ghcr.io/rmi/stitch-entity-linkage:pr86 |
ghcr.io/rmi/stitch-entity-linkage:pr86@sha256:ef1198a26a23140c09a707584345a68109e6ae34e38bcff75b43fd1e27d65dab |
| 2026-05-08T19:53:49Z | 2026-05-08T19:53:30Z | 4d77bb1 | ghcr.io/rmi/stitch-seed:pr86 |
ghcr.io/rmi/stitch-seed:pr86@sha256:b2f0bcf7cb2b5e324cc21c1ddfe32c2a78ff739108102653543a233aa1713d6a |
| 2026-05-08T19:53:45Z | 2026-05-08T19:53:30Z | 4d77bb1 | ghcr.io/rmi/stitch-stitch-llm:pr86 |
ghcr.io/rmi/stitch-stitch-llm:pr86@sha256:18dfb9fbf65124212eb2483bc8632af6f3894cc820b1357cd79ec49a4643c26b |
CD summary
|
| service | url | fqdn |
|---|---|---|
| api | open | pr86-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| entity-linkage | open | pr86-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| frontend | https://witty-mushroom-017a3dc1e-86.westus2.1.azurestaticapps.net | |
| stitch-llm | open | pr86-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
Database (1)
| db_name | postgres_host | postgres_port | postgres_db |
|---|---|---|---|
| pr_86 | stitch-dev.postgres.database.azure.com |
5432 |
pr_86 |
Jobs (1)
| job | image | postgres_db |
|---|---|---|
| db-init | ghcr.io/rmi/stitch-api:pr86@sha256:bce9f64a8f6e8e2707b0ad6ceab794c5a66b343f733962b6f16cc90c8084075a |
pr_86 |
Images (4)
| build_time | commit_time | git_sha | image | image_digest |
|---|---|---|---|---|
| 2026-05-14T18:34:25Z | 2026-05-14T18:34:07Z | 239087c | ghcr.io/rmi/stitch-api:pr86 |
ghcr.io/rmi/stitch-api:pr86@sha256:bce9f64a8f6e8e2707b0ad6ceab794c5a66b343f733962b6f16cc90c8084075a |
| 2026-05-14T18:34:20Z | 2026-05-14T18:34:07Z | 239087c | ghcr.io/rmi/stitch-entity-linkage:pr86 |
ghcr.io/rmi/stitch-entity-linkage:pr86@sha256:1e945635500a9c10ff88809247c773ee28ce4db18d238e1a226906c45d5e7e8c |
| 2026-05-14T18:34:25Z | 2026-05-14T18:34:07Z | 239087c | ghcr.io/rmi/stitch-seed:pr86 |
ghcr.io/rmi/stitch-seed:pr86@sha256:f5ff39386adac2a4cd4d1ea179f050b76dfa50e2b4924c105f76227bf63e7c1a |
| 2026-05-14T18:34:32Z | 2026-05-14T18:34:07Z | 239087c | ghcr.io/rmi/stitch-stitch-llm:pr86 |
ghcr.io/rmi/stitch-stitch-llm:pr86@sha256:00bc3ccb292a976a843e91ddb1ea544cfcf9e1e26d39bfd094c627d4f177a219 |
CD summary
|
| service | url | fqdn |
|---|---|---|
| api | open | pr86-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| entity-linkage | open | pr86-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| frontend | https://witty-mushroom-017a3dc1e-86.westus2.1.azurestaticapps.net | |
| stitch-llm | open | pr86-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
Database (1)
| db_name | postgres_host | postgres_port | postgres_db |
|---|---|---|---|
| pr_86 | stitch-dev.postgres.database.azure.com |
5432 |
pr_86 |
Jobs (1)
| job | image | postgres_db |
|---|---|---|
| db-init | ghcr.io/rmi/stitch-api:pr86@sha256:e648e2f091a04a31cb74a05df12b6f4a2ad8c720b5fb6a4645eaaf7077a2374d |
pr_86 |
Images (4)
| build_time | commit_time | git_sha | image | image_digest |
|---|---|---|---|---|
| 2026-05-14T18:35:22Z | 2026-05-14T18:34:56Z | 1f15acb | ghcr.io/rmi/stitch-api:pr86 |
ghcr.io/rmi/stitch-api:pr86@sha256:e648e2f091a04a31cb74a05df12b6f4a2ad8c720b5fb6a4645eaaf7077a2374d |
| 2026-05-14T18:35:23Z | 2026-05-14T18:34:56Z | 1f15acb | ghcr.io/rmi/stitch-entity-linkage:pr86 |
ghcr.io/rmi/stitch-entity-linkage:pr86@sha256:231f68c0e280d78e0e65486da19f1e65bb39441f2ca7d2a0db316eea54647714 |
| 2026-05-14T18:35:19Z | 2026-05-14T18:34:56Z | 1f15acb | ghcr.io/rmi/stitch-seed:pr86 |
ghcr.io/rmi/stitch-seed:pr86@sha256:2febcf3d709213b939d73e961145d7b92c26eb7cee1f50b6d772bdd49ff94f7b |
| 2026-05-14T18:35:20Z | 2026-05-14T18:34:56Z | 1f15acb | ghcr.io/rmi/stitch-stitch-llm:pr86 |
ghcr.io/rmi/stitch-stitch-llm:pr86@sha256:03179ef3c1bd9593232a4b30b11e12c91cd335b5012897561dbc8a6660b3b4fa |
CD summary
|
| service | url | fqdn |
|---|---|---|
| api | open | pr86-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| entity-linkage | open | pr86-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
| frontend | https://witty-mushroom-017a3dc1e-86.westus2.1.azurestaticapps.net | |
| stitch-llm | open | pr86-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io |
Database (1)
| db_name | postgres_host | postgres_port | postgres_db |
|---|---|---|---|
| pr_86 | stitch-dev.postgres.database.azure.com |
5432 |
pr_86 |
Jobs (1)
| job | image | postgres_db |
|---|---|---|
| db-init | ghcr.io/rmi/stitch-api:pr86@sha256:be3395b8db7aeb4c3e745c12ca57a025b9f1e463ed435ec97dbca88ee5659c3a |
pr_86 |
Images (4)
| build_time | commit_time | git_sha | image | image_digest |
|---|---|---|---|---|
| 2026-05-15T14:38:11Z | 2026-05-15T14:37:59Z | 6e82d7f | ghcr.io/rmi/stitch-api:pr86 |
ghcr.io/rmi/stitch-api:pr86@sha256:be3395b8db7aeb4c3e745c12ca57a025b9f1e463ed435ec97dbca88ee5659c3a |
| 2026-05-15T14:38:13Z | 2026-05-15T14:37:59Z | 6e82d7f | ghcr.io/rmi/stitch-entity-linkage:pr86 |
ghcr.io/rmi/stitch-entity-linkage:pr86@sha256:c0a224d3858d4a1d113ddbc2e2c849cd73bd4fbe186ab7bf5de5dc1b8feb9551 |
| 2026-05-15T14:38:15Z | 2026-05-15T14:37:59Z | 6e82d7f | ghcr.io/rmi/stitch-seed:pr86 |
ghcr.io/rmi/stitch-seed:pr86@sha256:b1ed2545e8f0b79a32f1b880beb3e9d05a6b219031d510bf5d985be0b681771b |
| 2026-05-15T14:38:10Z | 2026-05-15T14:37:59Z | 6e82d7f | ghcr.io/rmi/stitch-stitch-llm:pr86 |
ghcr.io/rmi/stitch-stitch-llm:pr86@sha256:c77b5df4b6e394383e52bb13e8b84254c84d166193a31129f373cf9b6e94663a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Merge #80 before this PR.
Adds a minimal auth token flow to the
stitch-clientpackage. Package users/consumers (seed, entity_linkage, llm) can be given credentials forclient_id(Auth0 "Application") andclient_secret, allowing them to make a call to the RMI Auth0 tenant. Posting to/oauth/tokenwill return theaccess_tokenthat can be used to make authenticated calls to our API.stitch-apitreats all callers as "users" without distinguishing between a machine/service and a human userstitch-clientcan still be used with user pass-through credentials so a service likeentity_linkagecan operate on a user's behalf