OKTA with NEXTJS

Hi,

I’m trying to use Okta with a nextjs app.

Found this blog but it doesn’t cover how to use PKCE flow or a custom okta login page or IDP authentication: Build a Next.js Application with TypeScript | Okta Developer

Does anyone have any examples?