Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2540129994 owen bernhard #18

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
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
Loading