Skip to content

Instantly share code, notes, and snippets.

@dferber90
Created April 16, 2020 15:00
Show Gist options
  • Save dferber90/15aa038ba99a83fd22f1413ae3953f63 to your computer and use it in GitHub Desktop.
Save dferber90/15aa038ba99a83fd22f1413ae3953f63 to your computer and use it in GitHub Desktop.
aws-cognito-next
import { createGetServerSideAuth, createUseAuth } from "aws-cognito-next";
import pems from "./pems.json";
export const getServerSideAuth = createGetServerSideAuth({ pems });
export const useAuth = createUseAuth({ pems });
export * from "aws-cognito-next";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment