
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@highpoint/get-ps-token
Advanced tools
Populates a cookie jar with PS_TOKEN.
yarn add -D @highpoint/get-ps-token
To populate a cookie jar with
a valid PS_TOKEN, call getToken with an object that includes the following:
const request = require('request-promise');
const getToken = require('@highpoint/get-ps-token');
require('dotenv').config({ silent: true });
/*
Add the following environment variables to a `.env` file in the root of your
project:
ISCRIPT_HOSTNAME
ISCRIPT_ENVIRONMENT
HTTP_USERNAME
HTTP_PASSWORD
PS_USERNAME
PS_PASSWORD
*/
const makeRequest = async () => {
request
.get({
uri: '...',
jar: await getToken(process.env)
})
.then(response => {
// ...
});
};
makeRequest();
| Key | Required | Example |
|---|---|---|
| PS_HOSTNAME | True | example.com |
| PS_ENVIRONMENT | True | csdev92 |
| PS_USERNAME | True | user |
| PS_PASSWORD | True | password |
| HTTP_USERNAME | False | user |
| HTTP_PASSWORD | False | password |
Example:
const jar = await getToken({
PS_HOSTNAME: 'example.com',
PS_ENVIRONMENT: 'csdev92',
PS_USERNAME: 'user',
PS_PASSWORD: 'password1'
});
FAQs
Populate cookie jar with PeopleSoft token
We found that @highpoint/get-ps-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.