| 86 | }); |
| 87 | |
| 88 | const chainInput = (fixture: EnterpriseFixture, scopes: readonly string[]) => ({ |
| 89 | idp: { tokenUrl: fixture.idp.tokenEndpoint, clientId: CLIENT_AT_IDP }, |
| 90 | resourceAuthorizationServer: { |
| 91 | tokenUrl: fixture.resource.tokenEndpoint, |
| 92 | issuer: fixture.resource.issuerUrl, |
| 93 | clientId: CLIENT_AT_RESOURCE, |
| 94 | }, |
| 95 | subjectToken: fixture.subjectToken, |
| 96 | subjectTokenType: ACCESS_TOKEN_TYPE, |
| 97 | scopes, |
| 98 | }); |
| 99 | |
| 100 | const decodeMetadata = Schema.decodeUnknownEffect(OAuthAuthorizationServerMetadataSchema); |
| 101 | |