Microsoft ad script how to hide the client id , client secret and access token from script

Kavita 1 Reputation point
2022-03-21T11:51:39.45+00:00

In Microsoft ad script how to hide the client id , client secret and access token which we mention as follow In the script
const credentials = {
accessToken: 'ya29.A0BQqdaM-_x6TP3ewELfFUR99yVJhSfcKlPDyHvxDstnxpI4QbeucG2mAqwzNuXW586LNpD3562MtktUKa5PPOQWE4xwArbCljulX6HLCo3EYFb8J4PEB7_6VlMArzxPxbtyEhKR7gCYP6fnnI6FK3DFHDttA',
clientId: '765432300957-11uytbtf4apa5ioehe32231hj4q21vi1v.apps.googleusercontent.com',
clientSecret: 'GSWQRX-sv8ncD810UnktYVEEa2z6Wtr4cf5',
refreshToken: '1//04jicSsUWAdfgdfdEEE22AAGAQSNwF-L9Ir50vBg0j0Xpbq9S5CUGQnjA6U4hbRRmoBMfd8Q-Nfw1VBUFd0rCC-6Cier55iYTGsz3g'
};

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,972 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.