Skip to content

Commit

Permalink
Merge pull request #164 from OpenLiberty/qa
Browse files Browse the repository at this point in the history
Merge qa to master: Cloud hosted adjustments (#163)
  • Loading branch information
gkwan-ibm authored Apr 23, 2021
2 parents e8d6843 + 94f04fd commit 3cefe94
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ endif::[]
ifdef::cloud-hosted[]
To launch the front-end web application,
select **Launch Application** from the menu of the IDE, type in **9090** to specify the port number for the front-end web application,
and click the **OK** button. You’re redirected to the **`https://accountname-9090.theiadocker-4.proxy.cognitiveclass.ai`** URL,
and click the **OK** button.
You’re redirected to a URL similar to **`https://accountname-9090.theiadocker-4.proxy.cognitiveclass.ai`**,
where **accountname** is your account name. Click the **Log in** link on the welcome page. From here,
you can log in to the application with the form-based login.
endif::[]


Log in with one of the following usernames and its corresponding password:

[cols="<35, ^200, ^200"]
Expand Down Expand Up @@ -166,9 +166,9 @@ curl -k https://localhost:8443/system/properties/os
```
{: codeblock}

You get a blank screen and aren't given
access because you didn't supply a valid JWT with the request. The following
error also appears in the command-line session of the **system** service:
The response is empty because you don't have access.
Access is granted if a valid JWT is sent with the request.
The following error also appears in the command-line session of the **system** service:
endif::[]

[source, role="no_copy"]
Expand Down Expand Up @@ -446,12 +446,14 @@ endif::[]
// cloud-hosted guide instructions:
ifdef::cloud-hosted[]
You can check that the **system** service is secured against unauthenticated
requests by going to the **system** endpoint.
requests by going to the **system** endpoint.
Run the following curl command from the terminal in the IDE:
```
curl -k https://localhost:8443/system/properties/os
```
{: codeblock}

You'll see an empty response because you didn't authenticate with a valid JWT.
endif::[]

In the front end, you see your JWT displayed in the row with the `JSON Web Token` label.
Expand Down

0 comments on commit 3cefe94

Please sign in to comment.