I’m having some difficulty implementing Amplify (i...
# help
c
I’m having some difficulty implementing Amplify (in a Vite / Svelte project) and want to double-check if it’s a problem worth solving. Currently I’m trying to use Amplify as a convenience to work with Coginito/auth, similar to current SST guide’s project. Is it troublesome or complex to access AWS auth functionality directly w/o using Amplify? And if you do, do you start to forfeit any auth functionality, like utilizing IAM roles?
Re: the Vite / Svelte issue there are some possible workarounds (one, two) but these look like they start to open up other concerns (like CSP security or reinitializing the resource on multiple page loads). Hoping to slim the solution down to whatever is simplest if the full powers of Amplify aren’t necessary.
t
I don't use amplify I use the underlying library directly
Let me find the name
There's lots of examples
Ultimately I really don't like cognito but I still use it
c
Thanks @thdxr for the help and quick reply. It sounds like you’re using Svelte as the frontend on projects as well, right? Do you happen to have (or know of) any good examples you could share for how to best implement Cognito in a SvelteKit project – or have you been successful with the basic JS instructions for that package?
t
I'm actually not using svelte haha. Using react and solidjs
c
Haha. Had me fooled with your consistent expertise. Thanks for all help and pointing me to a hopefully workable solution