1
0
Fork 0
mirror of https://codeberg.org/MarkusThielker/next-ory.git synced 2025-07-05 22:29:17 +00:00

NORY-14: refactor Kratos and Hydra APIs (authentication)

This commit is contained in:
Markus Thielker 2024-12-01 15:39:34 +01:00
parent 215d47e888
commit 9ee7da3a6c
No known key found for this signature in database
12 changed files with 51 additions and 27 deletions

View file

@ -5,7 +5,7 @@ import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/com
import { Flow, HandleError } from '@/ory';
import { RecoveryFlow, UpdateRecoveryFlowBody } from '@ory/client';
import { AxiosError } from 'axios';
import { kratos } from '@/ory/sdk/kratos';
import { kratos } from '../../../ory/sdk/client';
import { useRouter, useSearchParams } from 'next/navigation';
import Link from 'next/link';
import { Button } from '@/components/ui/button';