Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=e01b7895a403fa7364061b2f01a650fc
BACKEND_API_HOST=https://demo.duendesoftware.com
BACKEND_CUSTOM_API_HOST=https://new-dev.accelist.com:1234
OIDC_ISSUER=https://demo.duendesoftware.com
OIDC_CLIENT_ID=interactive.public.short
OIDC_SCOPE=openid profile email api offline_access
MY_ENV=HelloWorld
2 changes: 2 additions & 0 deletions appsettings.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
backendApiHost: process.env['BACKEND_API_HOST'] ?? '',
backendCustomApiHost: process.env['BACKEND_CUSTOM_API_HOST'] ?? '',
oidcIssuer: process.env['OIDC_ISSUER'] ?? '',
oidcClientId: process.env['OIDC_CLIENT_ID'] ?? '',
oidcScope: process.env['OIDC_SCOPE'] ?? '',
myEnv: process.env['MY_ENV'] ?? '',
};
11 changes: 11 additions & 0 deletions components/DefautLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,17 @@ const DefaultLayout: React.FC<{
});
}

menu.push({
key: '/log-out',
label: 'Log out',
icon: <FontAwesomeIcon icon={faSignOut}></FontAwesomeIcon>,
onClick: () => {
window.location.href = '/';
}
});



return menu;
}

Expand Down
Loading