Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please I need assistance using the connection type Okta login #55

Open
lpvonage opened this issue Aug 9, 2024 · 0 comments
Open

Please I need assistance using the connection type Okta login #55

lpvonage opened this issue Aug 9, 2024 · 0 comments

Comments

@lpvonage
Copy link

lpvonage commented Aug 9, 2024

Please, I need assistance to setup the connection type Okta login

async function printVault(username: string, password: string) {
try {
let auth = new Auth({
host: KeeperEnvironment.Prod_EU,
clientVersion: clientVersion,
});
await auth.loginV3({ username, password, loginType: LoginType.SSO });
console.log('login successful')

const records = [] as DRecord[]
const storage = {} as VaultStorage
await syncDown({
auth,
storage,
})
records.forEach(x => console.log(JSON.stringify(x)))
} catch (e) {
console.log(e)
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant