Commit 860e127a authored by femiadeyemi's avatar femiadeyemi
Browse files

create environment variable for docker and set the redirect uri

Target: master
parent 1001bc5e
FROM adoptopenjdk:11-jre-hotspot
ENV CLIENT_SECRET nopass
COPY target/hm-server-package.tar hms.tar
EXPOSE 8080
CMD tar -xvf hms.tar -C ./ && cd ./hm-server/bin && ./start.sh -s $CLIENT_SECRET -a dev
......@@ -21,7 +21,7 @@ spring:
client-id: helmholtz-marketplace
client-secret: ${secret:nopass}
authorization-grant-type: authorization_code
redirect-uri: "{baseUrl}/login/oauth2/code/unity"
redirect-uri: "https://hifis-tp.desy.de/login/oauth2/code/unity"
scope:
- offline_access
- credentials
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment