Override default oauth validators in v5 typebox schema #3340
Answered
by
howlettt
ericuldall
asked this question in
Q&A
-
I have a custom redirect flow / options and I think it's causing this error when my api starts:
For redirect in my config I have the following:
How can I extend the default validation to account for this? |
Beta Was this translation helpful? Give feedback.
Answered by
howlettt
Nov 29, 2023
Replies: 1 comment 3 replies
-
I suspect you can modify the configuration.ts file to achieve this: defaultAppConfiguration -> authentication -> oauth -> redirect You should be able to provide your own custom config instead of using defaultAppConfiguration |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ericuldall
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suspect you can modify the configuration.ts file to achieve this: defaultAppConfiguration -> authentication -> oauth -> redirect
feathers/packages/typebox/src/default-schemas.ts
Line 51 in 9e0aadc
You should be able to provide your own custom config instead of using defaultAppConfiguration