Skip to Main Content
DIG Development Hack Week Ideas
Status Completed
Categories WorkView
Created by Guest
Created on Jan 26, 2021

Create OnBase application for tracking and managing REST JWT tokens

View all tokens that have been created (SSIT.PUBLIC_API_USERS)

  • Create tokens by providing JSON body: {
    "creatorLdapUsername": "coleton.honea", "creatorLdapPassword": "password", "apiUsername": "Username", "apiUserRoles": ["ROLE_ONE", "ROLE_TWO"]}
    to API endpoint POST https://resttst.dig-inc.net/ap...

  • Delete tokens by deleting the record in (SSIT.PUBLIC_API_USERS)

Notes:

  • Management screen should allow user to specify test or production token which would determine if creation endpoint should be at resttst.dig-inc.net or rest.dig-inc.net

  • When creating a new token the creatorLdapUsername field should not be editable for security reasons

  • OnBase should restrict this management screen from most users (Kyle, Coleton, JZ)

  • If you pass an empty roles array like "apiUserRoles": [] then the JWT will contain every role available

Your name Kyle Swearingen
  • Attach files