Authentication Security over LINE Messaging Platform Channel Web App LINE Login LIFF line://ch/xxxxx https://access.line.me/oauth2/v2.1/authorize? response_type=type&client_id=channelId&redirect_ uri=encodedUrl&state=state&scope=scope&nonce =nonce line://app/xxxxx (Deprecated)
Login Security over LINE Messaging Platform Automatically Login by LINE Open LINE Login Access Authorize Page Redirect to LINE Login Login with Username & Password Authorize Code Login Page
Login by LINE LINE Login Security over LINE Messaging Platform Open LINE Login Extract LINE UserId From JWT Authorized Access Authorize Page Redirect to LINE Login Login with Username & Password Authorize Code Login Page Passing Authorize Code Create Session :ดการ<อ=ล connect.scb Get Token JWT Token
APP APP APP Infrastructure The anatomy of SCB Connect SCB Enterprise Systems SCB Enterprise API Enterprise PubSub COREBANK CARDS … DEPOSIT … … PROXY Datalake & Analytic Systems Partner API INTRANET DMZ INTERNET SERVICE LB Redis Database SERVICE LB SERVICE LB SERVICE LB Firewall & Load Balancer REVERSE PROXY REVERSE PROXY REVERSE PROXY
CLUSTER Infrastructure The anatomy of SCB Connect SCB Enterprise Systems SCB Enterprise API Enterprise PubSub SERVICE SERVICE SERVICE Firewall & Load Balancer Internal Gateway SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE COREBANK CARDS … DEPOSIT … … Events Web Push / Reply / Multicast REVERSE PROXY PROXY Datalake & Analytic Systems Partner API INTRANET DMZ INTERNET REVERSE PROXY REVERSE PROXY ELK Grafana Promethus Redis Database KAFKA KAFKA KAFKA
flow The anatomy of SCB Connect SCB Enterprise Systems SCB Enterprise API Enterprise PubSub Firewall & Load Balancer COREBANK CARDS … DEPOSIT … … Events Web Push! REVERSE PROXY PROXY Datalake & Analytic Systems Partner API INTRANET DMZ INTERNET REVERSE PROXY REVERSE PROXY KUBERNETES CLUSTER SERVICE SERVICE SERVICE Internal Gateway SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE ELK Grafana Promethus Redis Database KAFKA KAFKA KAFKA
in the past Event sourcing WORKER API SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER WORKER Redis API API SERVICE SERVICE SERVICE HTTPS Chat log
in the past Event sourcing WORKER API SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER WORKER Redis API API SERVICE SERVICE SERVICE Chat log Lost!
Exchange Patterns Event sourcing Request / Reply Publish / Subscribe Streaming CONSUMER SERVICE Request Reply EVENT BROKER SUBSCRIBER 2 SUBSCRIBER 1 x, y, z y, z PUBLISHER x y z STREAMING BROKER . SUBSCRIBER 2 SUBSCRIBER 1 x, y, z x, y, z PUBLISHER x y z With replay mechanism
events in the past Event sourcing WORKER API SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER API Redis API WORKER SERVICE SERVICE SERVICE HTTPS Chat log
new messaging system (Incoming) Event sourcing WORKER SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER WEBHOOK SERVICE SERVICE SERVICE Chat log KAFKA KAFKA KAFKA MESSAGE FOLLOW UNFOLLOW JOIN LEAVE MEMBER JOIN MEMBER LEAVE POSTBACK Messages Topic Operations Topic Group Topic ACCOUNT LINK Others Topic BEACON
events in the past Event sourcing WORKER API SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER WORKER Redis API API SERVICE SERVICE SERVICE HTTPS Chat log
new messaging system (Outgoing) Event sourcing WORKER API SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER WORKER API CONSUMER SERVICE SERVICE KAFKA KAFKA KAFKA Redis Chat log
Rate Limits Event sourcing WORKER CONSUMER SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER WORKER CONSUMER CONSUMER SERVICE SERVICE KAFKA KAFKA KAFKA Redis Chat log
Rate Limits Event sourcing WORKER CONSUMER SCB Enterprise Systems SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE WORKER WORKER CONSUMER CONSUMER SERVICE SERVICE KAFKA KAFKA KAFKA Redis Chat log
flow The anatomy of SCB Connect SCB Enterprise Systems SCB Enterprise API Enterprise PubSub Firewall & Load Balancer COREBANK CARDS … DEPOSIT … … Events Web REVERSE PROXY PROXY Datalake & Analytic Systems Partner API INTRANET DMZ INTERNET REVERSE PROXY REVERSE PROXY KUBERNETES CLUSTER SERVICE SERVICE SERVICE Internal Gateway SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE ELK Grafana Promethus Redis Database KAFKA KAFKA KAFKA Reply!
flow The anatomy of SCB Connect SCB Enterprise Systems SCB Enterprise API Enterprise PubSub Firewall & Load Balancer COREBANK CARDS … DEPOSIT … … Events Web REVERSE PROXY PROXY Datalake & Analytic Systems Partner API INTRANET DMZ INTERNET REVERSE PROXY REVERSE PROXY KUBERNETES CLUSTER SERVICE SERVICE SERVICE Internal Gateway SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE SERVICE ELK Grafana Promethus Redis Database KAFKA KAFKA KAFKA Reply!
Maintenance Model How to give bot insight to maintainer? ADAPTER Data Studio Monitoring & Logging FULFILLMENT Chatbase Create/Update intents Request for fulfillment Develop fulfillment BigQuery Intent ideas