@sourav_chanduka/oidc-client
v1.0.16
Published
To get id token from oidc provider
Downloads
4
Readme
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()