1
0
forked from baron/baron-sso

Merge pull request 'fix: add new staging domains and IP to redirect URIs and vite allowedHosts' (#398) from fix/login into dev

Reviewed-on: baron/baron-sso#398
This commit is contained in:
2026-03-19 09:33:15 +09:00
3 changed files with 4 additions and 4 deletions

View File

@@ -121,8 +121,8 @@ jobs:
# Frontend OIDC configs for Staging
VITE_OIDC_AUTHORITY=https://sso.hmac.kr/oidc
VITE_OIDC_CLIENT_ID=devfront
ADMINFRONT_CALLBACK_URLS=http://localhost:5173/auth/callback,https://sso.hmac.kr/auth/callback
DEVFRONT_CALLBACK_URLS=http://localhost:5174/auth/callback,https://sso.hmac.kr/devfront/auth/callback
ADMINFRONT_CALLBACK_URLS=http://localhost:5173/auth/callback,https://sso.hmac.kr/auth/callback,http://172.16.10.176:5173/auth/callback,https://sadmin.hmac.kr/auth/callback
DEVFRONT_CALLBACK_URLS=http://localhost:5174/auth/callback,https://sso.hmac.kr/devfront/auth/callback,http://172.16.10.176:5174/auth/callback,https://sdev.hmac.kr/auth/callback
# OATHKEEPER_INTROSPECT_CLIENT_ID=${{ vars.OATHKEEPER_INTROSPECT_CLIENT_ID }}
# OATHKEEPER_INTROSPECT_CLIENT_SECRET=${{ secrets.STG_OATHKEEPER_INTROSPECT_CLIENT_SECRET }}
EOF

View File

@@ -7,7 +7,7 @@ export default defineConfig({
envPrefix: ["VITE_", "USERFRONT_"],
server: {
host: "0.0.0.0",
allowedHosts: ["sadmin.hmac.kr", "localhost"],
allowedHosts: ["sadmin.hmac.kr", "localhost", "172.16.10.176"],
proxy: {
"/api": {
target: process.env.API_PROXY_TARGET || "http://localhost:3000",

View File

@@ -6,7 +6,7 @@ export default defineConfig({
plugins: [react()],
server: {
host: "0.0.0.0", // Ensure binding to all interfaces
allowedHosts: ["sdev.hmac.kr", "localhost"],
allowedHosts: ["sdev.hmac.kr", "localhost", "172.16.10.176"],
proxy: {
"/api": {
target: process.env.API_PROXY_TARGET || "http://localhost:3000",