Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Update README.md #32

Open
wants to merge 1 commit into
base: aad-start
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ This TodoList app uses Azure DocumentDB spring boot starter and AngularJS to int
<version>${azure.spring.boot.starter.version}</version>^M
</dependency>
```

* Customize Angular JS
In `app.js`, make following changes. The client leverages Azure AD library for JS to handle AAD authentication in single page application. The following snippet of code configures adal provider for your registered app.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls sepcify full path of app.js.
It's better to add detail steps on how to get tenant, what is client id, how to get it

```
adalProvider.init(
{
instance: 'https://login.microsoftonline.com/',
tenant: 'your-aad-tenant',
clientId: 'your-application-id',
extraQueryParameter: 'nux=1',
cacheLocation: 'localStorage',
},
$httpProvider
);

```

## Code

Expand Down