elements
elements copied to clipboard
Error page component
Preflight checklist
- [x] I could not find a solution in the existing issues, docs, nor discussions.
- [x] I agree to follow this project's Code of Conduct.
- [x] I have read and am following this repository's Contribution Guidelines.
- [ ] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
@ory/elements-react should implement a basic error screen showing an error message (specific if available or generic if not) and links to the other flows.
Describe your ideal solution
-
show an error message to the end user (that is non-technical)
-
in dev mode: more details, such as the raw JSON error
-
maybe a list of links for the user to continue (such as login, registration links)
-
if the user has a session, it should also show a logout button and maybe a link to settings?
-
future: a contact button, that can be configured
Workarounds or alternatives
Version
master
Additional Context
No response