https://github.com/workos/workos-next-auth
https://github.com/workos/workos-next-auth
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/workos/workos-next-auth
- Owner: workos
- Created: 2022-03-08T19:10:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-08T06:29:40.000Z (over 2 years ago)
- Last Synced: 2025-04-11T15:12:21.155Z (about 1 year ago)
- Language: TypeScript
- Size: 565 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WorkOS next-auth
Make your Next.js apps enterprise-ready using [WorkOS](https://workos.com) and [next-auth](https://next-auth.js.org)
To get started clone the repo:
```bash
git clone https://github.com/workos-inc/workos-next-auth.git
```
To install the dependencies, navigate to the directory where you cloned the repo and run the following command:
```bash
npm install
```
## Setting up WorkOS
### getting your API keys
After you sign up at [WorkOS](https://dashboard.workos.com/signup), go to the `configuration` tab on the left and copy the Client ID.
Next, navigate to the API keys tab on the left and grab a secret key.
Finally, rename the `.env.example` file to `.env` and run the following command to start the development server at http://localhost:3000
```bash
npm run dev
```