Skip to content

StephenGilboy/one-token-please

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

one-token-please

A cross platform .NET Core CLI app to get an Auth token. Right now it just gets one from Azure Active Directory using an application key.

Build Status

How to use it

Parameters

-s Auth Service. Defaults to 'aad' which is Azure Active Directory

-c ClientID. This is a GUID that you'll get from the AAD portal

-k AppKey. This is the key that is generated when adding an app in the AAD Portal.

-r Resource. https://yourcompany.onmicrosoft.com/YourApplication

-a Authority. https://login.microsoftonline.com/yourcompany.onmicrosoft.com

Enjoy!