I believe there might be an error with how the ErrorBrowserLocationChangeRequired Typescript interface in the API SDK (for Typescript) is defined. Shouldn't it contain a GenericError instead of an ErrorGeneric, like other errors that can arise when fetching a flow?
Preflight checklist
Ory Network Project
No response
Describe the bug
Hello,
I believe there might be an error with how the
ErrorBrowserLocationChangeRequired
Typescript interface in the API SDK (for Typescript) is defined. Shouldn't it contain aGenericError
instead of anErrorGeneric
, like other errors that can arise when fetching a flow?That interface seems to be generated from here (relevant lines of code linked) and/or here in the Ory API SDK.
It's possible that I have misunderstood something about how these errors work, if so I apologize!
Reproducing the bug
Compare the documentation of errors associated with getting flows for user-facing self https://www.ory.sh/self-service/errors:
with the
ErrorBrowserLocationChangeRequired
Typescript interface that would look something like this implemented:Relevant log output
Relevant configuration
Version
1.0.0 (@ory/kratos-client)
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response