
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@manifoldxyz/oauth-widget-js
Advanced tools
> yarn add @manifoldxyz/oauth-widget-js
This flow type is meant for purely frontend applications. Your user will be directed to a login page, and once they sign the login, they will be redirected to your redirectUri
with the query param ?token=
, which is an access token to call the Manifold Data API resources.
import { ManifoldOAuthLink } from '@manifoldxyz/oauth-widget-js'
<ManifoldOAuthLink
clientId="abcd"
grantType="token"
redirectUri="https://developers.manifoldxyz.dev/"
/>
This login flow is meant for when you have a backend as well as a frontend, and you can keep your Client Secret safe on the backend. Here, your user will be directed to a login page and once they sign the login, will be redirected to your redirectUri
with the query param of ?code=
, which is an authorization code you can use (one-time) to get an access token.
You will want to pass this code to your backend, and use the backend to call our OAuth server to get a token based on the code, your clientId, and your clientSecret.
import { ManifoldOAuthLink } from '@manifoldxyz/oauth-widget-js'
<ManifoldOAuthLink
clientId="abcd"
grantType="code"
redirectUri="https://developers.manifoldxyz.dev/"
/>
FAQs
### Install
We found that @manifoldxyz/oauth-widget-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.