feat: issuer url #117
No files matched your search
+4
-4
@@ -1,7 +1,7 @@
|
||||
FROM node:20
|
||||
ENV AUDIENCE "https://shiny.unbound.se"
|
||||
ENV ORIGIN_HOST "auth0mock"
|
||||
ENV ORIGIN "https://auth0mock:3333"
|
||||
ENV AUDIENCE="https://shiny.unbound.se"
|
||||
ENV ORIGIN_HOST="auth0mock"
|
||||
ENV ORIGIN="https://auth0mock:3333"
|
||||
EXPOSE 3333
|
||||
WORKDIR /app
|
||||
ADD package.json yarn.lock /app/
|
||||
@@ -9,4 +9,4 @@ RUN yarn install --frozen-lockfile
|
||||
ADD *.js /app/
|
||||
ADD public /app/public
|
||||
RUN mkdir -p /root/.config
|
||||
ENTRYPOINT yarn start
|
||||
ENTRYPOINT ["yarn", "start"]
|
||||
@@ -302,25 +302,25 @@ app.get('/.well-known/openid-configuration', (req, res) => {
|
||||
res.contentType('application/json').send(
|
||||
JSON.stringify({
|
||||
"issuer":
|
||||
"https://auth0",
|
||||
`${jwksOrigin}`,
|
||||
"authorization_endpoint":
|
||||
"https://server.example.com/authorize",
|
||||
`${jwksOrigin}authorize`,
|
||||
"token_endpoint":
|
||||
"https://server.example.com/oauth/token",
|
||||
`${jwksOrigin}oauth/token`,
|
||||
"token_endpoint_auth_methods_supported":
|
||||
["client_secret_basic", "private_key_jwt"],
|
||||
"token_endpoint_auth_signing_alg_values_supported":
|
||||
["RS256"],
|
||||
"userinfo_endpoint":
|
||||
"https://server.example.com/userinfo",
|
||||
`${jwksOrigin}userinfo`,
|
||||
"check_session_iframe":
|
||||
"https://server.example.com/check_session",
|
||||
`${jwksOrigin}check_session`,
|
||||
"end_session_endpoint":
|
||||
"https://server.example.com/end_session",
|
||||
`${jwksOrigin}end_session`,
|
||||
"jwks_uri":
|
||||
"https://server.example.com/.well-known/jwks.json",
|
||||
`${jwksOrigin}.well-known/jwks.json`,
|
||||
"registration_endpoint":
|
||||
"https://server.example.com/register",
|
||||
`${jwksOrigin}register`,
|
||||
"scopes_supported":
|
||||
["openid", "profile", "email", "address",
|
||||
"phone", "offline_access"],
|
||||
|
||||
Reference in new issue
Block a user