
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-oly-gate
Advanced tools
Npm: https://www.npmjs.com/package/react-oly-gate
To add the Authentication gate and the Centralizer to your project:
npm i -S oly-sdk react-oly-gate
import {Oly} from '@olympusat/oly-sdk';
import {Gate} from '@olympusat/react-oly-gate';
import getOlySdkOptions from "./olySdkOptions";
import getOlyGateOptions from "./olyGateOptions";
new Oly(getOlySdkOptions());
new Gate(getOlyGateOptions());
If a referrer is set in localstorage, then the sdk will redirect to that url on login.localStorage.setItem('olyauth.referrer',window.location.href);
This is the Id of your User Pool
The Id of the User Pool in Cognito that you'd like to use
The Id of the Federated Identities Pool set up in Cognito. The APP_CLIENT_ID & USER_POOL_ID of your User Pool should be added as Cognito Authentication Providers in the Federated IDentity Pool settings.
##ENDPOINT_USERS The GraphQL endpoint for your users service.
The GraphQL endpoint for your apps service.
The application must have a route named "auth" that will be used as our callback and a safe route to host the Gate component
Notes: The auth services works through the Users api. There are public methods in the auth service that the user service triggers on load to reveal the auth gate.
utils.OlyAuthMeta is where you theme the auth gate from.
If you run into issues, first check that these packages are exactly these versions. AWS changed their sdk at some point after, introducing breaking changes
"aws-sdk":"2.7.9",
"amazon-cognito-identity-js":"1.8.0"
FAQs
Olympusat React Gate
The npm package react-oly-gate receives a total of 13 weekly downloads. As such, react-oly-gate popularity was classified as not popular.
We found that react-oly-gate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.