Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 4 months ago
JSON representation

⚡🔐 Small example of how to use Cognito Authentication in a SvelteKit application

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=
```