appsettings.jsonfor Universal but the default value is shown below.
appsettings.json. Note that you will not input the entire endpoint URL. You will need to include the portion of the URL through the GUID but without the path after oauth2 in the Authority setting below (e.g. https://login.microsoftonline.com/fffffff-4b76-4470-a736-8481d7a2ed87).
appsettings.jsonfile with the appropriate settings. For my application, it would look something like this.
/adminpage, you'll be prompted for OIDC login.
appsettings.jsonfile, you will need to ensure that
SaveTokensis enabled, the resource type includes token and the resource you wish to access is included in the Resource setting. The URL that you specify in the resource should be listed in within the provider.
$IdTokenvariable that you can use with cmdlets that require authorization.
Connect-AzureAdcmdlet accepts an access token.
appsettings.jsonfile to use the provider for logins. Below is an example of the section required for Okta to function. Take note of the scope functionality as it is required for retrieving group membership.
$UserInfovariable that is available within
roles.ps1. This variable provides additional information about the user logging in.