Socket
Socket
Sign inDemoInstall

adobe-ims-servicetoken

Package Overview
Dependencies
6
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    adobe-ims-servicetoken

Adobe IMS Service Token lifecycle management


Version published
Weekly downloads
5
increased by150%
Maintainers
1
Install size
8.82 MB
Created
Weekly downloads
 

Changelog

Source

3.0.9

  • Using a dynamic import on node-fetch b19e8b2

Readme

Source

adobe-ims-servicetoken

Load into your node.js application to easily manage Adobe IMS service tokens. Multiple clients and/or grant types are supported with 1.1.0!

Configuration

url

IMS URL for retrieving an access token, default is https://ims-na1.adobelogin.com/ims/token

grant_type (optional)

Grant type, default is authorization_code; set to '' if exchanging a JWT

client_id

IMS Client ID

client_secret

IMS Client Secret

code (required if jwt_token is not supplied)

IMS Client Code

jwt_token (required if code is not supplied)

JWT for Access Token exchange

Example

import {token as ims} from 'adobe-ims-servicetoken';

export async function token () {
  let result;
  
  try {
    result = await ims({client_id: '', client_secret: '', code: ''});
  } catch (e) {
    console.error(e.message);
  }

  return result;
}

Keywords

FAQs

Last updated on 06 Nov 2023

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc