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: articles/azure-web-pubsub/howto-authorize-from-application.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
@@ -136,6 +136,15 @@ This sample shows how to assign a `Web PubSub Service Owner` role to a service p
136
136
137
137

138
138
139
+
7. For oauth2/v2.0/token endpoint, pass the 'scope' instead of 'resource'
140
+
141
+
```
142
+
client_id: *your client id*
143
+
client_secret: *your client secret*
144
+
grant_type: client_credentials
145
+
scope: https://webpubsub.azure.com/.default
146
+
```
147
+
139
148
## Sample codes using Microsoft Entra authorization
0 commit comments