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
The documentation for Pusher WebSocket in React Native lacks the necessary information and clarity concerning the configuration of the custom auth endpoint field.
What type of content should be returned from the custom auth endpoint?
Is there a way to pass additional properties to the endpoint? As far as I know, only the URL can be passed, but there seems to be missing information on this.
The text was updated successfully, but these errors were encountered:
gustavomant
changed the title
Subject: Insufficient Information in Pusher WebSocket React Native Documentation Regarding Custom Auth Endpoint Configuration
Insufficient Information in Pusher WebSocket React Native Documentation Regarding Custom Auth Endpoint Configuration
Jan 21, 2024
gustavomant
changed the title
Insufficient Information in Pusher WebSocket React Native Documentation Regarding Custom Auth Endpoint Configuration
Insufficient Information in Documentation Regarding Custom Auth Endpoint Configuration
Jan 21, 2024
The response expected from an authEndpoint is defined at https://pusher.com/docs/channels/server_api/authorizing-users/#response.
It is not possible to pass additional properties to the endpoint - if this is required then you can use our onAuthorizer parameter to build and execute your own HTTP request / auth process to generate and return the expected auth information.
The documentation for Pusher WebSocket in React Native lacks the necessary information and clarity concerning the configuration of the custom auth endpoint field.
await pusher.init({
apiKey: API_KEY,
cluster: API_CLUSTER,
authEndPoint: "https://your-server.com/pusher/auth"
});
What type of content should be returned from the custom auth endpoint?
Is there a way to pass additional properties to the endpoint? As far as I know, only the URL can be passed, but there seems to be missing information on this.
The text was updated successfully, but these errors were encountered: