Skip to content

Commit

Permalink
Merge pull request #108 from GoogleCloudPlatform/cloud-run
Browse files Browse the repository at this point in the history
merge documentation changes
  • Loading branch information
shirleycohen committed Oct 22, 2023
2 parents f74d11a + bc412e2 commit 7763fbb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Alternative 2: you can choose to deploy Tag Engine v2 with [gcloud commands](htt
When the Terraform finishes running, it should output two URIs. One for the API service (which looks like this https://tag-engine-api-xxxxxxxxxxxxx.a.run.app) and another for the UI service (which looks like this https://tag-engine-ui-xxxxxxxxxxxxx.a.run.app). <br><br>


6. Set the authorized redirect URI and test users:
6. Set the authorized redirect URI and add authorized users:

Re-open [API Credentials](https://console.cloud.google.com/apis/credentials)<br>

Expand All @@ -91,11 +91,11 @@ Alternative 2: you can choose to deploy Tag Engine v2 with [gcloud commands](htt

https://tag-engine-ui-xxxxxxxxxxxxx.a.run.app/oauth2callback

Replace xxxxxxxxxxxxx in the URI with the actual value from the Terraform. This URI will be referred to below as the `$UI_SERVICE_URI`.
Replace xxxxxxxxxxxxx in the URI with the actual value from the Terraform. This URI will be referred to below as the `UI_SERVICE_URI`.

Open the OAuth consent screen page and under the Test users section, click on add users.

Add the email address of each user you would like to grant access to the Tag Engine UI.
Add the email address of each user for which you would like to grant access to the Tag Engine UI.

<br><br>
### <a name="testa"></a> Part 2: Testing your Tag Engine setup with a user account
Expand Down Expand Up @@ -127,11 +127,11 @@ gcloud run services add-iam-policy-binding tag-engine \
3. Test your Tag Engine UI path:

- Open a browser window
- Navigate to $UI_SERVICE_URI
- You should be prompted to sign in to `iap.googleapis.com`
- Once signed in, you should be directed to the Tag Engine home page (i.e. $UI_SERVICE_URI/home)
- Navigate to `UI_SERVICE_URI`
- You should be prompted to sign in with Google
- Once signed in, you will be redirected to the Tag Engine home page (i.e. `UI_SERVICE_URI`/home)
- Enter your template id, template project, and template region
- Enter your $TAG_CREATOR_SA as the service account
- Enter your `TAG_CREATOR_SA` as the service account
- Click on `Search Tag Templates` to continue to the next step and create a tag configuration

If you encouter a 500 error, open the Cloud Run logs to troubleshoot.
Expand Down

0 comments on commit 7763fbb

Please sign in to comment.