Advantech SSO starter kit - Node.js / Express
SSO: https://ae-sso.advantech.com

1. Ask the SSO administrator to add a service with this Redirect URI
   (請 SSO 管理員新增服務，Redirect URI 填這個)：

   https://myapp.advantech.world/auth/callback

   You get a Client ID and a Client Secret (會拿到 Client ID 與 Client Secret).
   Local test (本機測試): use http://localhost:3000 instead of https://myapp.advantech.world

2. Run (執行) - Windows PowerShell: $env:SSO_CLIENT_ID="..." instead of export

   npm install
   
   export SSO_CLIENT_ID=svc_xxxxxxxx
   export SSO_CLIENT_SECRET=xxxxxxxx
   export APP_URL=https://myapp.advantech.world
   export SESSION_SECRET=change-me-to-a-long-random-string
   
   npm start

3. Open (打開) https://myapp.advantech.world/ and sign in (登入).

Developer guide (開發者指南): https://ae-sso.advantech.com/developers
