Skip to content

Instantly share code, notes, and snippets.

@krishnaanaril
Last active October 5, 2018 10:26
Show Gist options
  • Save krishnaanaril/b1b8798373a6bbe42e7f288ceb9ca1a9 to your computer and use it in GitHub Desktop.
Save krishnaanaril/b1b8798373a6bbe42e7f288ceb9ca1a9 to your computer and use it in GitHub Desktop.
Angular environment settings for configuring Azure ADAL
export const environment = {
production: false,
apiEndPoint: "", // api endpoint for generationg embed tokens (for app-owns-data)
powerBIEndpoint: "https://analysis.windows.net/powerbi/api",
groupId: "", // similar to workspace id
adalConfig: {
tenant: '', //tenant id of your organization
clientId: '', // client id of your azure ad application
cacheLocation: 'localStorage', // Default is sessionStorage
redirectUri:`${window.location.origin}/` ,
popUp: false
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment