Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trimble-oss/trimble-id

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trimble-oss/trimble-id

Trimble Identity SDK for JavaScript/ TypeScript

  • 0.0.1
  • npm
  • Socket score

Version published
Weekly downloads
447
decreased by-17.07%
Maintainers
6
Weekly downloads
 
Created
Source

@trimble-oss/trimble-id

Trimble Identity SDK for JavaScript/ TypeScript.

📚 Documentation - 🚀 Getting Started - 💬 Support

Documentation

  • Developer guide - Our Dev guide to work with various authentication grant types and its providers.
  • Reference documentation - Our code reference documentation generated from code comments.
  • Samples - a code guided samples for all supporeted grant type token providers.
  • FAQs - frequently asked questions answering the most common questions.
  • Release Notes - release notes about trimble-id SDK.

Getting Started

Installation

Using npm in your project directory run the following command:

npm install @trimble-oss/trimble-id

Configure Trimble Identity

Create a new application in the Trimble Developer Console portal and configure the following settings:

To register your application in Trimble Developer Console:

  1. On the left pane select "Applications".

  2. On the Applications home page, in the top right corner select + NEW APPLICATION. The Create Application page displays.

  3. Select Continue to enter the applications details.

    FieldDescription
    NameName of your application
    Display NameProvide a display name of the application.
    DescriptionProvide a description for the application.
  4. Configure Grant Type and Token preferences of your application choice.

    FieldDescription
    Application Grant TypesSelect the grant types that will be used for authenticating users or applications.
    Allowed Callback URLSRefers to the redirect URI of the application after logging into Identity. More than one URL can be added to this field. The total URI length should not exceed 400kb. This field appears only when you select the Authorization Grant type.
    Allowed Logout URLSThe URIs that Identity can redirect to after log out. More than one UL can be added to this field. The total URI length should not exceed 400kb. This field appears only when you select the Authorization Grant type.
  5. Select "Create Application" to save changes.

Take note of the Client ID and URLs under the "Basic Information" section. You'll need these values to configure the SDK.

Scopes

Trimble Identity uses scopes to determine the aud claim in the returned access token. Scope is mandatory for the application to work. You can use the scope as the application name registered in the Trimble Developer Console. For example, if you have registered an application with the name "test", then it must be registered in the format {some_uuid}-"test". For eg., 12345678-1234-1234-1234-123456789012-test.

For more information, see Authentication documentation.

Raise an issue

To provide feedback or report a bug, please raise an issue on our issue tracker.

Support

Send email to cloudplatform_support@trimble.com

Keywords

FAQs

Package last updated on 03 Nov 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc