https://github.com/robertohuertasm/sveltekit-cognito-auth
⚡🔐 Small example of how to use Cognito Authentication in a SvelteKit application
https://github.com/robertohuertasm/sveltekit-cognito-auth
cognito oauth2 sveltekit
Last synced: 3 months ago
JSON representation
⚡🔐 Small example of how to use Cognito Authentication in a SvelteKit application
- Host: GitHub
- URL: https://github.com/robertohuertasm/sveltekit-cognito-auth
- Owner: robertohuertasm
- Created: 2021-07-25T21:59:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-21T20:36:07.000Z (over 2 years ago)
- Last Synced: 2025-02-28T06:31:25.973Z (3 months ago)
- Topics: cognito, oauth2, sveltekit
- Language: JavaScript
- Homepage:
- Size: 55.7 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SvelteKit Cognito Authentication
This project is just an example about how to use SvelteKit with Cognito.
It was mainly created to illustrate this [blog post](https://robertohuertas.com/2021/07/25/sveltekit-cognito-authentication/).
Don't forget to add an `.env` file with your Client Id and your Client Secret of your Cognito App client:
```sh
VITE_CLIENT_ID=
VITE_CLIENT_SECRET=
```