Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
jamalavedra committed Sep 27, 2024
1 parent efd9974 commit 0c2eec2
Show file tree
Hide file tree
Showing 44 changed files with 1,410 additions and 2,255 deletions.
6 changes: 5 additions & 1 deletion examples/apps/auth-sample/src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import {TextField} from '../components/Fields';
import {StatusType, Toast} from '../components/Toasts';
import openfort from '../utils/openfortConfig';
import {getURL} from '../utils/getUrl';
import {AuthPlayerResponse, OAuthProvider} from '@openfort/openfort-js';
import {
AuthPlayerResponse,
OAuthProvider,
ThirdPartyOAuthProvider,
} from '@openfort/openfort-js';

function LoginPage() {
const router = useRouter();
Expand Down
2 changes: 1 addition & 1 deletion examples/apps/auth-sample/src/utils/openfortAdminConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const openfort = (() => {
if (!process.env.NEXTAUTH_OPENFORT_SECRET_KEY) {
throw new Error("Openfort secret key is not set");
}
return new Openfort(process.env.NEXTAUTH_OPENFORT_SECRET_KEY, 'http://localhost:3000');
return new Openfort(process.env.NEXTAUTH_OPENFORT_SECRET_KEY);
})();

export default openfort;
Loading

0 comments on commit 0c2eec2

Please sign in to comment.