-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update API examples to v2 #3
Conversation
…crypto-api to https://nodejs.org/api/crypto.html#crypto since the former is "Experimental"
publisher/server_only/README.md
Outdated
| `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.| | |
There was a problem hiding this comment.
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.
publisher/server_only/README.md
Outdated
@@ -15,17 +15,19 @@ docker build . -t uid2-publisher-server | |||
docker run -it --rm -p 3000:3000 \ | |||
-e UID2_BASE_URL="https://integ.uidapi.com" \ |
There was a problem hiding this comment.
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.
publisher/server_only/README.md
Outdated
| `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` | |
There was a problem hiding this comment.
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
publisher/standard/README.md
Outdated
| `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` | |
There was a problem hiding this comment.
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.
publisher/standard/README.md
Outdated
@@ -16,15 +16,17 @@ docker build . -t uid2-publisher-standard | |||
docker run -it --rm -p 3000:3000 \ | |||
-e UID2_BASE_URL="https://integ.uidapi.com" \ |
There was a problem hiding this comment.
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.
Updated placeholder value format for consistency with the style guide.
resolved the conflicts. |
No description provided.