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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sassoftware/registerclient

v6.2.2

Published

Manage registration of applications(clientid) in SAS Viya

Readme

@sassoftware/registerclient

Breaking changes

  • The authentication is consitent with other viya cli plugins
    • Use sas-cli auth login|loginCode to setup authentication

Application to manange clientids. The application runs as a cli. It can be run in interactive mode or in batch mode. The user of this app must have admin rights.


Setup

Authentication and setup

  1. Use sas-cli auth login}|loginCode to create authentication tokens

Quick start


The simplest way to use this cli is as follows:

npx @sassoftware/registerclient 

On the prompt enter, enter logon command.

This will put you into an interactive session where you can issue commands. Use the exit command to end the session.


Batch mode


This mode is useful when you want to run these commands as part of some process. I use them to setup all my clientids when I am configuring a new server

Run the following command


npx @sassoftware/registerclient --file yourcmdfile

The cmd file is a list of the commands(see below). They are executed in order.

list
add app1 -t implicit -r http://localhost:5000/app1
add app2 -t authorization_code -s mysecret -r http://localhost:5000/callback
list

List of commands

  • logon - logon on to Viya server
  • list <all> - list current clientid. Use all option to include system clientids
  • delete clientid - delete the specified clientid( always returns 404 but work - no idea why)
  • add clientid < options > - add a new clientid
  • details clientid - print details of selected clientid

Options for the add command

  • -t == grant type == typically one of these: password | implicit | authorization_code)
  • -s == secret whatever you want(valid for password and authorization_code)
  • -r == redirect_uri == valid for implicit and authorization_code(if multiple redirects seperate them by comma(,))

Notes

The current configuration for all clientids is shown below:

scope: ['openid', '*'],
resource_ids: 'none',
autoapprove: true,
access_token_validity: 86400,
'use-session': true