npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

insomnia-plugin-sfsf-samlassertion

v1.1.4

Published

Insomnia Plugin: SAML Assertion generator for SAP SuccessFactors API's

Downloads

1,173

Readme

insomnia-plugin-sfsf-samlassertion

This is an Insomnia plugin for generating SAML Assertions required to obtain OAuth tokens from SAP SuccessFactors API's, as described in the SAP SuccessFactors HXM Suite OData API: Developer Guide (V2) documentation Generating a SAML Assertion and the blog SAML assertions for SAP SuccessFactors OAuth 2.0 API’s: Handling of User Identifiers. Based on the npm package saml from auth0.

SAP Community Blog with more details about the plugin usage: https://blogs.sap.com/2023/02/02/testing-successfactors-apis-how-to-use-insomnia-to-automate-the-generation-of-saml-assertions/

After successfully installing the plugin, the Template Tag SAML Assertion - SFSF will be available and the following parameters have to be entered to generate a SAML Assertion:

  • X.509 Certificate: Public certificate corresponding to the key pair used for client configuration in SAP SuccessFactors.
  • Private Key: Private key of the key pair that will be used to sign the SAML assertion.
  • SAML Issuer: Name of the IdP issuing the SAML Assertion. The proposed value local.insomnia.com should be a good starting point.
  • Lifetime in seconds: Lifetime of the SAML Assertion in seconds.
  • Client Id: Registered Client Id in SAP SuccessFactors, also called as API key in the SFSF Documentation.
  • User Identifier (Changed on April/2023): User identifier to be used to access the SAP SuccessFactors API's.
  • User Identifier Format (Added on April/2023): Type of User Identifier informed for SAML assertion. It can be one of the three following types: User ID, Username or E-Mail. Check the blog SAML assertions for SAP SuccessFactors OAuth 2.0 API’s: Handling of User Identifiers to better understand which of these options best suits your test needs.
  • OAuth Token Endpoint: The URL of the API server from which you request the OAuth token.
  • Audience: Value used to tag the SAML assertion. The proposed value www.successfactors.com should be a good starting point.
  • Delay (Seconds): Delays the handover of the SAML assertion to Insomnia runtime. Useful when errors like "The SAML assertion has expired" are observed, but actually the request is reaching the endpoint before the validNotBefore date from SAML assertion.

Add the Template Tag and configure it where the SAML assertion is required. The SAML Assertion will be generated and returned in the Base64 format.

Template Tag configuration 2

Template Tag configuration 1