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
A client uses a Client Access URL to connect and authenticate with the service, which follows a pattern of `wss://<service_name>.webpubsub.azure.com/client/hubs/<hub_name>?access_token=<token>`.
79
79
80
80
1. In the Azure portal, go to your Web PubSub service resource page.
81
-
1. Select **Key** from the menu.
82
-
1. From the **Client URL Generator** section:
83
-
1.
84
-
1. A client can have a few ways to obtain the Client Access URL. For this quick start, you can copy and paste one from Azure portal shown as the following diagram.
81
+
1. Select **Keys** from the menu.
82
+
1. In the **Client URL Generator** section:
83
+
1. Select **Send To Groups**
84
+
1. Select **Allow Sending To Specific Groups**.
85
+
1. Enter *group1* in the **Group Name** field and select **Add**.
86
+
1. Select **Join/Leave Groups**.
87
+
1. Select **Allow Joining/Leaving Specific Groups**.
88
+
1. Enter *group1* in the **Group Name** field and select **Add**.
89
+
1. Copy the **Client Access URL**.
85
90
86
91
:::image type="content" source="media/howto-websocket-connect/generate-client-url.png" alt-text="Screenshot of the Web PubSub Client URL Generator.":::
0 commit comments