| @@ -899,11 +899,11 @@ export const makeOAuthService = (deps: OAuthServiceDeps): OAuthService => { · 898 unmodified lines |
| 899 | ); | 899 | ); |
| 900 | const information = yield* registerWithName(input.clientName).pipe( | 900 | const information = yield* registerWithName(input.clientName).pipe( |
| 901 | // Some authorization servers vet `client_name` (Mercury rejects any | 901 | // Some authorization servers vet `client_name` (Mercury rejects any |
| 902 | // name containing its own brand — which the auto-generated | 902 | // name containing its own brand, which the auto-generated |
| 903 | // "Executor for <integration>" always trips). The name is cosmetic, | 903 | // "Executor for <integration>" always trips). The name is cosmetic, |
| 904 | // so on `invalid_client_metadata` retry ONCE with the bare product | 904 | // so on `invalid_client_metadata` retry ONCE with the bare product |
| 905 | // name before surfacing the failure. Other metadata rejections reuse | 905 | // name before surfacing the failure. Other metadata rejections reuse |
| 906 | // the same RFC error code, so the retry may be a wasted request — but | 906 | // the same RFC error code, so the retry may be a wasted request, but |
| 907 | // never masks the original failure: if the retry also fails, ITS | 907 | // never masks the original failure: if the retry also fails, ITS |
| 908 | // error surfaces (same code, server-authored description). | 908 | // error surfaces (same code, server-authored description). |
| 909 | Effect.catchIf( | 909 | Effect.catchIf( |