mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-01 12:23:50 +00:00
Serve an OpenAccess descriptor at /.well-known/openaccess.json (#159)
Lists LogicSRC on OpenAccess hubs (openaccess.logicsrc.com) so people can link it with OAuth 2.1 + PKCE and it honours the shared profullstack.com/all-access entitlement. The Ed25519 public key here is the app's credential for reporting sales; the private half is in the logicsrc teams vault openaccess-app-keys--prod. Scopes are empty for now: the reserved openid, email and entitlements scopes need no listing. Spec: https://logicsrc.com/openaccess Claude-Session: https://claude.ai/code/session_01SWRffW4ifQPUrGXJtgYWMd Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
ef115fc85a
commit
ffd0695926
1 changed files with 29 additions and 0 deletions
29
apps/logicsrc-web/public/.well-known/openaccess.json
Normal file
29
apps/logicsrc-web/public/.well-known/openaccess.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"openaccess": "0.1",
|
||||
"name": "LogicSRC",
|
||||
"url": "https://logicsrc.com",
|
||||
"operator": "https://logicsrc.com/.well-known/openprofile.md",
|
||||
"redirect_uris": [
|
||||
"https://logicsrc.com/api/v1/openaccess/callback"
|
||||
],
|
||||
"jwks": {
|
||||
"keys": [
|
||||
{
|
||||
"kty": "OKP",
|
||||
"crv": "Ed25519",
|
||||
"kid": "zQIbsqDH0Y45",
|
||||
"x": "7I2TEE8GQKJFROunFb28eGjdfUOS1tVqXS6xdDl3yNk",
|
||||
"alg": "EdDSA",
|
||||
"use": "sig"
|
||||
}
|
||||
]
|
||||
},
|
||||
"scopes": {},
|
||||
"honours": [
|
||||
"profullstack.com/all-access"
|
||||
],
|
||||
"webhooks": "https://logicsrc.com/api/v1/openaccess/events",
|
||||
"hubs": [
|
||||
"https://openaccess.logicsrc.com"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue