Join Slack
Communities
Powered by
Hi Everyone, I am trying to implement a custom co...
# general
k
kind-cricket-67361
05/29/2024, 9:39 AM
Hi Everyone, I am trying to implement a custom consent UI screen in NextJS. I have cloned the following repo:
https://github.com/ory/kratos-selfservice-ui-react-nextjs
I have the project running locally on porta 3000, and get redirected to the following page (screenshot attached) in order for the user to accept consent:
http://localhost:3000/api/.ory/ui/consent?consent_challenge=oz-zvRzEnzHWrYGl_ianYZw[…]6LcIGcw8En8fm9O2D0hUE38xYGVRyVjUEhcNmxoLHGXYkJbpBGcNUDQ%3D%3D
What is the recommended approach to customize this component? Should I make the file under
./api/.ory/ui/consent.tsx
? Is it possible for the consent screen to be rendered from
./pages/consent.tsx
?
11
Views
Open in Slack
Previous
Next