1.0.16 • Published 3 years ago

@sourav_chanduka/oidc-client v1.0.16

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

You can use this package to interact with the github oidc provider.

Method Name: getIDToken

audience : optional

const core = require('@actions/core');
const id = require('@actions/oidc-client')


async function getID(){
   const id_token = await id.getIDToken('client-id', 'client-secret')
   const val = `ID token is ${id_token}`
   core.setOutput('id_token', id_token);
      
}

getID()