Preflight checklist
Ory Network Project
No response
Describe your problem
Hi,
I'm using the elements-react package and I'd like to understand if there's a way to allow my framework to handle navigation/redirects for rendered links.
As an example, the login component displays a "Recover Account" and "Sign Up" link that is a <a> </a> element which triggers a full browser redirect to Kratos which then redirects to the appropriate page with the flow ID. It would make for a smoother user experience if my framework could handle the redirect avoiding the need to re-fetch all the UI elements.
This is somewhat hinted at in the elements-react readme but it's limited to redirects in our code. There is also the OryFlowComponentOverrides but it doesn't seem like links can be overridden.
Describe your ideal solution
A way to override links in OryFlowComponentOverrides seems reasonable.
Workarounds or alternatives
None
Version
1.1.0
Additional Context
No response
Preflight checklist
Ory Network Project
No response
Describe your problem
Hi,
I'm using the
elements-reactpackage and I'd like to understand if there's a way to allow my framework to handle navigation/redirects for rendered links.As an example, the login component displays a "Recover Account" and "Sign Up" link that is a
<a> </a>element which triggers a full browser redirect to Kratos which then redirects to the appropriate page with the flow ID. It would make for a smoother user experience if my framework could handle the redirect avoiding the need to re-fetch all the UI elements.This is somewhat hinted at in the elements-react readme but it's limited to redirects in our code. There is also the
OryFlowComponentOverridesbut it doesn't seem like links can be overridden.Describe your ideal solution
A way to override links in
OryFlowComponentOverridesseems reasonable.Workarounds or alternatives
None
Version
1.1.0
Additional Context
No response