Skip to content

Commit

Permalink
Merge pull request #56 from danskernesdigitalebibliotek/fix/unilogin-…
Browse files Browse the repository at this point in the history
…wellknown-url-typo

fix: typo in the env files
  • Loading branch information
ThomasGross authored Nov 22, 2024
2 parents 0c2f56a + cca9ec7 commit a067660
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ NEXT_PUBLIC_LIBRARY_TOKEN=XXX

UNILOGIN_SESSION_SECRET=XXX
UNILOGIN_API_URL=https://et-broker.unilogin.dk
UNILOGIN_WELKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration
UNILOGIN_WELLKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration
UNILOGIN_CLIENT_ID=XXX
UNILOGIN_CLIENT_SECRET=XXXX
NEXT_PUBLIC_APP_URL=http://localhost:3000

NEXT_PUBLIC_APP_URL=https://localhost:3000
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ NEXT_PUBLIC_LIBRARY_TOKEN=XXX

UNILOGIN_SESSION_SECRET=XXX
UNILOGIN_API_URL=https://et-broker.unilogin.dk
UNILOGIN_WELKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration
UNILOGIN_WELLKNOWN_URL=https://et-broker.unilogin.dk/auth/realms/broker/.well-known/openid-configuration
UNILOGIN_CLIENT_ID=XXX
UNILOGIN_CLIENT_SECRET=XXXX
NEXT_PUBLIC_APP_URL=https://hellboy.the-movie.com
Expand Down
4 changes: 2 additions & 2 deletions lib/config/resolvers/service.unilogin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const serviceUnilogin = {
}
},
"service.unilogin.wellknown.url": () => {
if (process.env.UNILOGIN_WELKNOWN_URL) {
return process.env.UNILOGIN_WELKNOWN_URL
if (process.env.UNILOGIN_WELLKNOWN_URL) {
return process.env.UNILOGIN_WELLKNOWN_URL
}
},
"service.unilogin.refresh-token.url": () => {
Expand Down

0 comments on commit a067660

Please sign in to comment.