Skip to content
Snippets Groups Projects
Verified Commit b003a152 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP: deployable

parent 756a8e7d
No related branches found
No related tags found
No related merge requests found
Pipeline #48540 failed
......@@ -23,8 +23,8 @@ EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
ENV EXPRESS_PUBLIC_API_URL=http://localhost:8000/api
ENV KEY_CLOAK_CLIENT_SECRET
CMD ["npm", "run", "dev"]
#ENV EXPRESS_PUBLIC_API_URL=http://localhost:8000/api
......
......@@ -15,10 +15,13 @@ export const authOptions = {
providers: [
// !!! Should be stored in .env file.
KeycloakProvider({
clientId: 'fdo-manager-webui',
clientSecret: 'ay7l6jhECSohAZsEp6HYOaoXdARMQCei',
issuer: 'http://localhost:8000/auth/realms/fdo-manager',
authorization: { params: { scope: 'openid profile' } },
//clientId: 'fdo-manager-webui',
clientId: 'gwdg-fdoman-test',
//clientSecret: 'ay7l6jhECSohAZsEp6HYOaoXdARMQCei',
clientSecret: process.env.KEY_CLOAK_CLIENT_SECRET,
// issuer: 'http://localhost:8000/auth/realms/fdo-manager',
issuer: 'https://keycloak.sso.gwdg.de/auth/realms/academiccloud',
//authorization: { params: { scope: 'openid profile email' } },
profile (profile) {
console.log('### profile', profile, '### ### ###')
return {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment