You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,19 +68,19 @@ The picture below shows how `Okta Admin Dashboard` looks like
68
68
- Assignments
69
69
- Controlled access: `Skip group assignment for now`
70
70
- Click `Save` button
71
-
- On the next screen, the `Client ID`and `Okta Domain`of `Jobs Portal SPA` are displayed.
71
+
- On the next screen, the `Client ID` of `Jobs Portal SPA` are displayed. The `Okta Domain` can be obtained by clicking the button-menu present on the up-right corner of the screen.
72
72
73
73
### Create groups
74
74
75
75
- In the `Okta Admin Dashboard` main menu on the left, click `Directory` menu and then `Groups` sub-menu
76
76
- Add Staff Group
77
77
- Click `Add Group` button
78
78
- Enter `JOBS_STAFF` for the _Name_ text-field
79
-
- Click `Add Group` button
79
+
- Click `Save` button
80
80
- Add Customer Group
81
81
- Click `Add Group` button
82
82
- Enter `JOBS_CUSTOMER` for the _Name_ text-field
83
-
- Click `Add Group` button
83
+
- Click `Save` button
84
84
85
85
### Add people
86
86
@@ -189,10 +189,10 @@ The picture below shows how `Okta Admin Dashboard` looks like
@@ -204,7 +204,7 @@ The picture below shows how `Okta Admin Dashboard` looks like
204
204
205
205
- Done!
206
206
207
-
> **Note:** If you are using the person `luigi.bros@test.com`, you will not be able to create/update/delete a job because it doesn't have the required role for it.
207
+
> **Note**: If you are using the person `luigi.bros@test.com`, you will not be able to create/update/delete a job because it doesn't have the required role for it.
208
208
209
209
## Getting Access Token
210
210
@@ -244,7 +244,7 @@ In order to use just the `jobs-api` endpoints, you must have an `JWT` access tok
244
244
"scope": "openid"
245
245
}
246
246
```
247
-
> **Tip:** In [jwt.io](https://jwt.io), you can decode and verify the `JWT` access token
247
+
> **Note**: In [jwt.io](https://jwt.io), you can decode and verify the `JWT` access token
248
248
249
249
## Calling jobs-api endpoints using curl
250
250
@@ -288,19 +288,19 @@ In order to use just the `jobs-api` endpoints, you must have an `JWT` access tok
> **Note:** If you are using the person `luigi.bros@test.com`, you will not be able to create/update/delete a job because it doesn't have the required role for it.
291
+
> **Note**: If you are using the person `luigi.bros@test.com`, you will not be able to create/update/delete a job because it doesn't have the required role for it.
292
292
293
293
## Using jobs-api with Swagger
294
294
295
295
- First, get the access token as explained in [`Getting Access Token`](#getting-access-token) section.
296
296
297
-
- Open `jobs-api` Swagger website http://localhost:8080/swagger-ui.html
297
+
- Open `jobs-api` Swagger website http://localhost:8080/swagger-ui/index.html
298
298
299
299
- Click `Authorize` button. Paste the access token in the `Value` field. Then, click `Authorize` and `Close` to finalize.
300
300
301
301
- Done! You can now access the sensitive endpoints.
302
302
303
-
> **Note:** If you are using the person `luigi.bros@test.com`, you will not be able to create/update/delete a job because it doesn't have the required role for it.
303
+
> **Note**: If you are using the person `luigi.bros@test.com`, you will not be able to create/update/delete a job because it doesn't have the required role for it.
0 commit comments