mirror of
https://github.com/hanzoai/openid-client.git
synced 2026-09-24 17:01:10 +00:00
13 lines
387 B
TypeScript
13 lines
387 B
TypeScript
import { test, flow, rejects, modules, variant } from '../runner.js'
|
|
|
|
for (const module of modules(import.meta.url)) {
|
|
if (
|
|
module.variant?.response_type?.includes('id_token') === true ||
|
|
variant.response_type?.includes('id_token') === true
|
|
) {
|
|
test.serial(rejects(flow()), module, { code: 'OAUTH_KEY_SELECTION_FAILED' })
|
|
} else {
|
|
test.serial(flow(), module)
|
|
}
|
|
}
|