diff --git a/README.md b/README.md index 0bb5e34..610c0c7 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ - Visual Studio Code breakpoint and debugging configured -- Responsive dashboard (top and side navigation bar) template +- Responsive dashboard with sidebar template - `Page` Component Type: Supports variable layout @@ -186,10 +186,10 @@ docker network create network-name ```sh docker run \ -e WEBSITE_NAME="Accelist Next.js Starter" \ --e AZURE_AD_B2C_TENANT_NAME=accelistadb2c \ --e AZURE_AD_B2C_CLIENT_ID=8234d7c5-e1ce-4dc5-a4b8-f8c85b73f759 \ --e AZURE_AD_B2C_PRIMARY_USER_FLOW=B2C_1_AccelistNextjsStarter \ --e BACKEND_HOST=http://localhost:5000 \ +-e BACKEND_HOST="http://localhost:5000" \ +-e OIDC_AUTHORITY="https://sso.accelist.com/auth/realms/Dev" \ +-e OIDC_CLIENT_ID="accelist-nextjs-starter" \ +-e OIDC_SCOPE="openid profile email offline_access" \ -p 80:80 \ --network network-name \ --restart always \ diff --git a/pages/dashboard/index.tsx b/pages/dashboard/index.tsx index 0556b38..cadaa8e 100644 --- a/pages/dashboard/index.tsx +++ b/pages/dashboard/index.tsx @@ -62,7 +62,7 @@ const Dashboard: React.FC = () => { const [selectedRowKeys, setSelectedRowKeys] = useState([]); - // Because is inside we can use the access token + // Because is inside we can use the access token // to create an SWR Fetcher with Authorization Bearer header const swrFetcher = useAuthorizedSwrFetcher();