mirror of
https://github.com/luxfi/explore.git
synced 2026-07-27 05:54:15 +00:00
Add OIDC authentication support using hanzo.id as the identity provider for Lux Explorer user accounts. - Add 'oidc' auth provider type alongside existing auth0/dynamic - AuthGuardOidc: redirect-based OIDC login flow with CSRF state - pages/auth/callback: authorization code exchange, token storage - useApiFetch: pass Bearer token for OIDC-authenticated API calls - account feature config: support NEXT_PUBLIC_OIDC_SERVER_URL and NEXT_PUBLIC_OIDC_CLIENT_ID environment variables - .env.production: configure hanzo.id as default OIDC provider
19 lines
388 B
TypeScript
19 lines
388 B
TypeScript
import type { NextPage } from 'next';
|
|
import React from 'react';
|
|
|
|
import PageNextJs from 'nextjs/PageNextJs';
|
|
|
|
import MyProfile from 'ui/pages/MyProfile';
|
|
|
|
const Page: NextPage = () => {
|
|
return (
|
|
<PageNextJs pathname="/auth/profile">
|
|
<MyProfile/>
|
|
</PageNextJs>
|
|
);
|
|
};
|
|
|
|
export default Page;
|
|
|
|
export { account as getServerSideProps } from 'nextjs/getServerSideProps/main';
|