Skip to content

Commit

Permalink
Change Login component settings to work with prod urls
Browse files Browse the repository at this point in the history
OIDC server expects HDS prod to use test servers and clients
  • Loading branch information
NikoHelle committed Oct 31, 2023
1 parent 7e3dac9 commit 08d4173
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/react/src/components/login/Login.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ export default {

const loginProviderProps: LoginProviderProps = {
userManagerSettings: {
authority: 'https://tunnistamo.dev.hel.ninja/',
client_id: 'exampleapp-ui-dev',
scope: 'openid profile email https://api.hel.fi/auth/helsinkiprofiledev https://api.hel.fi/auth/exampleappdev',
redirect_uri: `${window.origin}/callback`,
authority: 'https://tunnistamo.test.hel.ninja/',
client_id: 'exampleapp-ui-test',
scope: 'openid profile email https://api.hel.fi/auth/helsinkiprofile https://api.hel.fi/auth/exampleapptest',
redirect_uri: `${window.origin}/callback/`,
},
apiTokensClientSettings: { url: 'https://tunnistamo.dev.hel.ninja/api-tokens/' },
apiTokensClientSettings: { url: 'https://tunnistamo.test.hel.ninja/api-tokens/' },
sessionPollerSettings: { pollIntervalInMs: 10000 },
};

Expand Down

0 comments on commit 08d4173

Please sign in to comment.