sgcWebSockets 라이브러리는 서버 및 클라이언트 컴포넌트에서 OAuth2 인증을 지원해요. 다음 버전에는 AWS Cognito 서비스에 필요한 새 기능이 포함될 예정이에요. Cognito와 OAuth2로 인증을 시도하면 서비스가 서버가 보안 포트에서 수신 대기하도록 요구하므로, 이제 OAuth2 클라이언트 컴포넌트가 SSL/TLS 암호화 레이어를 사용할 수 있어요.
LocalServerOptions 속성이 업데이트되어 SSL을 활성화하고 인증서, TLS 버전 등을 설정할 수 있어요.
로컬 서버 옵션

The LocalServerOptions property of TsgcHTTP_OAuth2_Client has been updated to allow enable SSL connections and you can configure the certificate, password, listening port, tls version and more.
Usually setting the certificate file and the listening SSL port will be enough to allow OAuth2 client connect with AWS Cognito Services.
Find below a video which shows how connect to AWS cognito using sgcWebSockets OAuth2 client component.
