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: sdk/eventhub/event-hubs/samples/browserSample/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,8 @@ Register a new application in AAD and assign the "Azure Event Hubs Data Owner" r
37
37
38
38
Ensure your app registration has been configured properly to allow the [implicit grant flow][implicitgrantflow]
39
39
and allow both `Access tokens` and `ID tokens` to be issued by the authorization endpoint.
40
+
Also add a `redirect URI` that points to where you'll be hosting your application.
41
+
For running the sample locally, you can set this to `http://localhost:8080`.
40
42
In your app registration, you will also need to add a permission for the `Microsoft.EventHubs` app.
41
43
When adding permission for `Microsoft.EventHubs`, the type should be `delegated permissions` and the permission should be `user_impersonation`.
42
44
@@ -64,6 +66,13 @@ npm start
64
66
65
67
4. Navigate to the web page by visiting http://localhost:8080 in a browser.
66
68
69
+
## Troubleshooting
70
+
71
+
### Authentication error: AADSTS50011
72
+
73
+
If you receive error `AADSTS50011` with the message `The reply URL specified in the request does not match the reply URLs configured for the application`, make sure that you're accessing the sample using the same URI
74
+
as the redirect URI you added to your app registration. If you're following along with the sample, this should be `http://localhost:8080`.
75
+
67
76
## Next Steps
68
77
69
78
Take a look at our [API Documentation][apiref] for more information about the APIs that are available in the clients.
0 commit comments