Created
April 16, 2020 15:00
-
-
Save dferber90/15aa038ba99a83fd22f1413ae3953f63 to your computer and use it in GitHub Desktop.
aws-cognito-next
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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