mirror of
https://github.com/hanzoai/openid-client.git
synced 2026-09-24 17:01:10 +00:00
15 lines
284 B
TypeScript
15 lines
284 B
TypeScript
import { rejects, skippable } from './run.js'
|
|
import { plan, nonRepudiation } from '../runner.js'
|
|
|
|
if (nonRepudiation(plan)) {
|
|
rejects(
|
|
import.meta.url,
|
|
{ code: 'OAUTH_INVALID_RESPONSE' },
|
|
{
|
|
message: /signature/,
|
|
},
|
|
)
|
|
} else {
|
|
skippable(import.meta.url)
|
|
}
|