Skip to content

Commit

Permalink
attempt 1 id-porten.
Browse files Browse the repository at this point in the history
  • Loading branch information
OlaStalberg committed Apr 18, 2024
1 parent 04011ca commit 537b67d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ REACT_APP_CREATE_GEOJSON_DOCUMENT_URL=https://dibk.apps.tt02.altinn.no/dibk/regu
REACT_APP_GML2SOSI_URL=https://gml2sosi.ft-dev.dibk.no/reguleringsplanforslag

REACT_APP_EXCHANGE_ALTINN_TOKEN_URL=https://dibk.apps.tt02.altinn.no/dibk/varselplanoppstart/exchangealtinntoken
REACT_APP_AUTH_LOGIN_REDIRECT_URI=http://localhost:3000
REACT_APP_AUTH_LOGOUT_REDIRECT_URI=http://localhost:3000
REACT_APP_AUTH_LOGIN_REDIRECT_URI=https://arkitektum.github.io/FTPB-ID-porten-client/
REACT_APP_AUTH_LOGOUT_REDIRECT_URI=https://arkitektum.github.io/FTPB-ID-porten-client/

BUILD_PATH='./docs'
PUBLIC_URL='/FTPB-ID-porten-client'
4 changes: 2 additions & 2 deletions src/config/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const AUTH_LOGOUT_REDIRECT_URI = process.env.REACT_APP_AUTH_LOGOUT_REDIRECT_URI;
const EXCHANGE_ALTINN_TOKEN_URL = process.env.REACT_APP_EXCHANGE_ALTINN_TOKEN_URL;

const oidcConfig = {
authority: 'https://test.idporten.no',
client_id: 'e8036c98-a703-4cbd-8028-3434cf23a4fe',
authority: 'https://idporten.no',
client_id: '3bb05d5e-7e55-4a1f-8e8c-fdc6c4c2df9f',
redirect_uri: AUTH_LOGIN_REDIRECT_URI,
post_logout_redirect_uri: AUTH_LOGOUT_REDIRECT_URI,
response_type: 'code',
Expand Down

0 comments on commit 537b67d

Please sign in to comment.