@@ -10,14 +10,25 @@ This sample demonstrates how to:
10102 . Link not published package
1111
1212```
13- cd pingone-angular-sdk
13+ cd pingone-customers-sample-angular/pingone-angular-registration
14+ npm install
15+ cd ../pingone-angular-sdk
1416npm link
17+ npm install
1518cd ../pingone-angular-registration
1619npm link pingone-angular-sdk
17- npm install
1820```
1921
20- 3 . Configure your Application Settings in ` /src/app/pingone-api.service.ts `
22+ 3 . Create ` Single Page App ` with:
23+ - ` Token ` and ` ID Token ` response types
24+ - ` Implicit ` grant type
25+ - ` None ` token authentication method
26+ - ` http://localhost:4200 ` redirect URI
27+ - ` http://localhost:4200 ` signoff URL
28+
29+ 4 . Enable applications in the PingOne admin console.
30+
31+ 5 . Configure your Application Settings in ` /src/app/pingone-api.service.ts `
2132
2233``` js
2334 this .pingApiClient = new ApiClient ({
@@ -28,16 +39,22 @@ npm install
2839 });
2940```
3041
31- 4 . Add environment-specific variables in .env file
42+ 6 . Create ` Worker ` application with:
43+ - ` Client Credentials ` grant type
44+ - ` Client Secret Post ` token authentication method
45+
46+ 7 . Enable applications in the PingOne admin console.
47+
48+ 8 . Add environment-specific variables in .env file
3249
3350``` properties
3451environmentID =PINGONE_ENV_ID
35- clientID =PINGONE_CLIENT_ID
36- clientSecret =PINGONE__CLIENT_SECRET
37- API_URI =PINGONE_API_URI
38- AUTH_URI =PINGONE_AUTH_URI
52+ clientID =PINGONE_CLIENT_ID_WORKER_APP
53+ clientSecret =PINGONE_CLIENT_SECRET_WORKER_APP
54+ API_URI =https://api.pingone.com
55+ AUTH_URI =https://api.pingone.com
3956```
4057
41- 5 . Run Application ` npm start ` and ` npm run server `
58+ 9 . Run Application ` npm start ` and ` npm run server `
4259
43- 6 . Open ` http://localhost:4200 `
60+ 10 . Open ` http://localhost:4200 `
0 commit comments