Refactor interactive-login.mjs to import configuration from public-config.js
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
#!/usr/bin/env node
|
||||
import { loginInteractive } from "sk-az-tools/azure";
|
||||
|
||||
const config = {
|
||||
tenantId: "ce45d437-ed75-4a4f-9d57-87e1ef73f8d6",
|
||||
clientId: "187960e4-499e-4334-95ec-70a9d70cbd3a",
|
||||
};
|
||||
import { config } from "../../public-config.js";
|
||||
|
||||
async function main() {
|
||||
const graphApiToken = await loginInteractive({
|
||||
|
||||
Reference in New Issue
Block a user