title: Sending parameters to AWS API gateway websocket connect method
body: <p>I followed <a href="https://levelup.gitconnected.com/creating-a-chat-app-with-serverless-websockets-and-python-a-tutorial-54cbc432e4f" rel="nofollow noreferrer">this tutorial</a> to create a small chat application using python, aws apigategay and serverless. When connecting to the Websocket the connection ID is stored in a Database.</p>
  
  <p>Everything works as expected, now I want to be able to connect to the Websocket with a role, lets say for example the chat allows customers and store employees. </p>
  
  <p>I'm trying to find a way to send a parameter to the connect method but no luck so far. For example when establishing a connection I want to send a role ID and store in the database to specify that aconnection ID belongs to a customers or to store employees. </p>
  
  <p>I read about the API gateway authorization but the thing is that the chat will be included in an application that's already running that is not using AWS authorization.</p>
  
  <p>Is there any way to accomplish this?</p>