You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-WebApp-graph-user/2-6-BFF-Proxy/CallGraphBFF/ClientApp/src/components/Home.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ export class Home extends Component {
44
44
</ul>
45
45
<p>To help you get started, we have also set up:</p>
46
46
<ul>
47
-
<li><strong>Client-side navigation</strong>. For example, click <em>Counter</em> then <em>Back</em> to return here.</li>
47
+
<li><strong>Client-side navigation</strong>. For example, click <em>Profile</em>, then <em>Back</em> to return here.</li>
48
48
<li><strong>Development server integration</strong>. In development mode, the development server from <code>create-react-app</code> runs in the background automatically, so your client-side resources are dynamically built on demand and the page refreshes when you modify any file.</li>
49
49
<li><strong>Efficient production builds</strong>. In production mode, development-time features are disabled, and your <code>dotnet publish</code> configuration produces minified, efficiently bundled JavaScript files.</li>
Copy file name to clipboardExpand all lines: 2-WebApp-graph-user/2-6-BFF-Proxy/README.md
+10-7Lines changed: 10 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ extensions:
35
35
36
36
## Overview
37
37
38
-
This sample demonstrates a ASP.NET Core web app calling Microsoft Graph.
38
+
This sample demonstrates a React single-page application with an ASP.NET Core backend authenticating users and calling the Microsoft Graph API using the backend for frontend proxy pattern.
39
39
40
40
> :information_source: To learn how applications integrate with [Microsoft Graph](https://aka.ms/graph), consider going through the recorded session: [An introduction to Microsoft Graph for developers](https://www.youtube.com/watch?v=EBbnpFdB92A)
41
41
@@ -171,20 +171,23 @@ Open the project in your IDE (like Visual Studio or Visual Studio Code) to confi
171
171
From your shell or command line, execute the following commands:
172
172
173
173
```console
174
-
cd 2-WebApp-graph-user/2-6-BFF-Proxy
174
+
cd 2-WebApp-graph-user/2-6-BFF-Proxy/CallGraphBFF
175
175
dotnet run
176
176
```
177
177
178
178
## Explore the sample
179
179
180
-
> * Explain how to explore the sample.
181
-
> * Insert a screenshot of the client application.
180
+
1. Open your browser and navigate to `https://localhost:7000`.
181
+
1. Select the **Login** button on the navigation bar to sign-in.
182
+
1. Select the **Profile** button on the navigation bar to call Microsoft Graph.
183
+
184
+

182
185
183
186
> :information_source: Did the sample not work for you as expected? Then please reach out to us using the [GitHub Issues](../../../../issues) page.
184
187
185
188
## We'd love your feedback!
186
189
187
-
Were we successful in addressing your learning objective? Consider taking a moment to [share your experience with us](Enter_Survey_Form_Link).
190
+
Were we successful in addressing your learning objective? Consider taking a moment to [share your experience with us](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR73pcsbpbxNJuZCMKN0lURpUNEFCQ0FSMFlPQTJURkJZMTRZWVJRNkdRMCQlQCN0PWcu).
188
191
189
192
## Troubleshooting
190
193
@@ -225,8 +228,8 @@ Follow the link to [Publish with Visual Studio](https://docs.microsoft.com/visua
225
228
#### Update the Azure AD app registration (CallGraphBFF)
226
229
227
230
1. Navigate back to to the [Azure portal](https://portal.azure.com).
228
-
In the left-hand navigation pane, select the **Azure Active Directory** service, and then select **App registrations (Preview)**.
229
-
1. In the resulting screen, select the `callgraphbff` application.
231
+
In the left-hand navigation pane, select the **Azure Active Directory** service, and then select **App registrations**.
232
+
1. In the resulting screen, select the `CallGraphBFF` application.
230
233
1. In the app's registration screen, select **Authentication** in the menu.
231
234
1. In the **Redirect URIs** section, update the reply URLs to match the site URL of your Azure deployment. For example:
0 commit comments