Skip to content

Conversation

@jon8787
Copy link
Contributor

@jon8787 jon8787 commented Sep 8, 2022

No description provided.

@jon8787 jon8787 changed the title update v2 example for server_only update API examples to v2 Sep 12, 2022
| `UID2_BASE_URL` | string | The base URL of the UID2 service. For example:</br>Testing environment: `https://integ.uidapi.com`<br/>Production environment: `https://prod.uidapi.com` |
| `UID2_API_KEY` | string | Your UID2 authentication key for the UID2 service specified in `UID2_BASE_URL`.| |
| `UID2_CLIENT_SECRET` | string | Your UID2 client secret for the UID2 service specified in `UID2_BASE_URL`.| |
| `SESSION_KEY` | string | The key to the encryption session data stored in application's session cookie.| |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What value are we getting from the session key? I think it can just be any arbitrary string, and unless you know that you might go hunting trying to find out what value needs to go here.

```
docker build . -t uid2-publisher-server
docker run -it --rm -p 3000:3000 \
-e UID2_BASE_URL="https://integ.uidapi.com" \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this default point to our integration URL? That's https://operator-integ.uidapi.com. Hopefully people won't be using production keys to try out the example app.

| `SESSION_KEY` | string | The key to the encryption session data stored in application's session cookie. |
| Parameter | Data Type | Description |
|:---------------------| :--- |:---------------------------------------------------------------------------------------------------------------------------------------------------------|
| `UID2_BASE_URL` | string | The base URL of the UID2 service. For example:</br>Testing environment: `https://integ.uidapi.com`<br/>Production environment: `https://prod.uidapi.com` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are not quite correct. Suggest leaving one example and then giving link to https://github.com/UnifiedID2/uid2docs/tree/main/api/v2#environments

| `UID2_API_KEY` | string | Your UID2 authentication key for the UID2 service specified in `UID2_BASE_URL`. |
| Parameter | Data Type | Description |
|:---------------------|:----------|:---------------------------------------------------------------------------------------------------------------------------------------------------------|
| `UID2_BASE_URL` | string | The base URL of the UID2 service. For example:</br>Testing environment: `https://integ.uidapi.com`<br/>Production environment: `https://prod.uidapi.com` |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another integration URL to update.

```
docker build . -t uid2-publisher-standard
docker run -it --rm -p 3000:3000 \
-e UID2_BASE_URL="https://integ.uidapi.com" \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another integration URL to update.

@vlochner vlochner merged commit ba28e4d into main Sep 16, 2022
@elenaTTD
Copy link
Contributor

resolved the conflicts.

@jon8787 jon8787 deleted the jon-update-examples-to-v2 branch December 1, 2022 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants