New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amplify-auth-next-storage

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-auth-next-storage - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

2

package.json
{
"name": "amplify-auth-next-storage",
"version": "0.0.0",
"version": "1.0.0",
"description": "Isomorphic cookie storage for Next.js apps using @aws-amplify/auth",

@@ -5,0 +5,0 @@ "main": "next-storage.js",

@@ -12,2 +12,4 @@ # amplify-auth-next-storage

```js
// components/Component.js
import Auth from '@aws-amplify/auth';

@@ -50,1 +52,15 @@ import NextStorage from 'amplify-auth-next-storage';

| secure | boolean | true | Cookie secure flag |
### Notes
If you're struggling to get `Auth.configure` to work properly on the server side, one workaround is to use something like `node-fetch` as the global fetch.
```js
// _app.js
import fetch from 'node-fetch';
global.fetch = fetch;
// ... the rest of your _app.js file
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc