Skip to content

Commit

Permalink
Merge pull request #45 from ibm-cloud-security/fix-sample
Browse files Browse the repository at this point in the history
update sample
  • Loading branch information
TalAviel authored Jul 21, 2020
2 parents 2b898dd + 08f9446 commit 421df62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sample/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@
let tokens;
try {
await appID.init({
clientId: '6757117a-4715-4f86-af8e-c9437de0cb86',
// discoveryEndpoint: 'https://eu-gb.appid.test.cloud.ibm.com/oauth/v4/d28b6a9a-f34c-4fcf-972b-5e957f029650/.well-known/openid-configuration'
discoveryEndpoint: 'http://localhost:6002/oauth/v4/d28b6a9a-f34c-4fcf-972b-5e957f029650/.well-known/openid-configuration'
clientId: '<SPA_CLIENT_ID>',
discoveryEndpoint: '<WELL_KNOWN_ENDPOINT>'
});
} catch (e) {
console.error(e);
Expand Down

0 comments on commit 421df62

Please sign in to comment.