Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- platform/core/external_oauth.py +0 -16
- web/public/AIOS_DEPLOY_RECEIPT +1 -1
RELEASES.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v75",
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "91baf64",
|
| 3 |
"releases": [
|
| 4 |
{
|
| 5 |
"version": "v75",
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
91baf64
|
platform/core/external_oauth.py
CHANGED
|
@@ -549,22 +549,6 @@ def refresh(refresh_token, *, client_id, resource, runtime_resolver, now=None) -
|
|
| 549 |
# grant was issued to; the refresh token, matched below, is the credential.
|
| 550 |
named = client_id or (row.get("client_id") if isinstance(row, dict) else None)
|
| 551 |
client = book["clients"].get(named)
|
| 552 |
-
if isinstance(row, dict):
|
| 553 |
-
# Which wall refused, as booleans only (never a value): the refresh that ChatGPT
|
| 554 |
-
# sends was refused on staging while the harness passes the same shape.
|
| 555 |
-
print("oauth refresh check: " + ", ".join(f"{k}={v}" for k, v in {
|
| 556 |
-
"material": current_ok, "match": current_match,
|
| 557 |
-
"disconnected": bool(row.get("disconnected_at")),
|
| 558 |
-
"tenant": row.get("tenant") == tenant_key,
|
| 559 |
-
"client_id": row.get("client_id") == named,
|
| 560 |
-
"resource": row.get("resource") == audience,
|
| 561 |
-
"expired": float(row.get("refresh_expires_at") or 0) < issued_at,
|
| 562 |
-
"client": isinstance(client, dict),
|
| 563 |
-
"revoked": bool(isinstance(client, dict) and client.get("revoked_at")),
|
| 564 |
-
"owner": bool(isinstance(client, dict) and client.get("username") == row.get("username")),
|
| 565 |
-
}.items()), flush=True)
|
| 566 |
-
else:
|
| 567 |
-
print("oauth refresh check: no grant row for this token", flush=True)
|
| 568 |
if (not current_ok or not current_match or not isinstance(row, dict)
|
| 569 |
or row.get("disconnected_at") or row.get("tenant") != tenant_key
|
| 570 |
or row.get("client_id") != named
|
|
|
|
| 549 |
# grant was issued to; the refresh token, matched below, is the credential.
|
| 550 |
named = client_id or (row.get("client_id") if isinstance(row, dict) else None)
|
| 551 |
client = book["clients"].get(named)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 552 |
if (not current_ok or not current_match or not isinstance(row, dict)
|
| 553 |
or row.get("disconnected_at") or row.get("tenant") != tenant_key
|
| 554 |
or row.get("client_id") != named
|
web/public/AIOS_DEPLOY_RECEIPT
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
106dd8cd2ed1c8207b5df263c422d19b9dc684628e99aa5df4fc563f6ac02524
|