Skip to content

Commit 0514f32

Browse files
author
rain
committed
docs: fix auth reference details
1 parent 4cbb7d3 commit 0514f32

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/docs/00200-core-concepts/00500-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Sometimes, you may need to authenticate your servers, APIs or other services tha
6868
interact with your SpacetimeDB database. OIDC tokens can also be used for this
6969
purpose, allowing secure communication between your services and SpacetimeDB.
7070

71-
To authenticate your services, you have e few options depending on your OIDC provider:
71+
To authenticate your services, you have a few options depending on your OIDC provider:
7272

7373
- **Client credentials flow**: Many OIDC providers support the client credentials
7474
flow, which allows your service to obtain an access token using its own

docs/docs/00200-core-concepts/00500-authentication/00200-Auth0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { StepByStep, Step, StepText, StepCode } from "@site/src/components/Steps
66
import Tabs from '@theme/Tabs';
77
import TabItem from '@theme/TabItem';
88

9-
This guilde will walk you through integrating Auth0 authentication with your SpacetimeDB application.
9+
This guide will walk you through integrating Auth0 authentication with your SpacetimeDB application.
1010

1111
## Prerequisites
1212

docs/docs/00300-resources/00200-reference/00200-http-api/00200-identity.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Generate a short-lived access token which can be used in untrusted contexts, e.g
3939

4040
| Name | Value |
4141
| --------------- | ----------------------------------------------------------------------------- |
42-
| `Authorization` | A Spacetime token [encoded as Basic authorization](./00100-authorization.md). |
42+
| `Authorization` | A Spacetime token [encoded as Bearer authorization](./00100-authorization.md). |
4343

4444
#### Returns
4545

@@ -77,11 +77,11 @@ Returns JSON in the form:
7777

7878
```typescript
7979
{
80-
"addresses": array<string>
80+
"identities": array<string>
8181
}
8282
```
8383

84-
The `addresses` value is an array of zero or more strings, each of which is the address of a database owned by the identity passed as a parameter.
84+
The `identities` value is an array of zero or more strings, each of which is the identity of a database owned by the identity passed as a parameter.
8585

8686
## `GET /v1/identity/:identity/verify`
8787

@@ -97,7 +97,7 @@ Verify the validity of an identity/token pair.
9797

9898
| Name | Value |
9999
| --------------- | ----------------------------------------------------------------------------- |
100-
| `Authorization` | A Spacetime token [encoded as Basic authorization](./00100-authorization.md). |
100+
| `Authorization` | A Spacetime token [encoded as Bearer authorization](./00100-authorization.md). |
101101

102102
#### Returns
103103

docs/versioned_docs/version-1.12.0/00200-core-concepts/00500-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Sometimes, you may need to authenticate your servers, APIs or other services tha
4646
interact with your SpacetimeDB database. OIDC tokens can also be used for this
4747
purpose, allowing secure communication between your services and SpacetimeDB.
4848

49-
To authenticate your services, you have e few options depending on your OIDC provider:
49+
To authenticate your services, you have a few options depending on your OIDC provider:
5050

5151
- **Client credentials flow**: Many OIDC providers support the client credentials
5252
flow, which allows your service to obtain an access token using its own

docs/versioned_docs/version-1.12.0/00200-core-concepts/00500-authentication/00200-Auth0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { StepByStep, Step, StepText, StepCode } from "@site/src/components/Steps
66
import Tabs from '@theme/Tabs';
77
import TabItem from '@theme/TabItem';
88

9-
This guilde will walk you through integrating Auth0 authentication with your SpacetimeDB application.
9+
This guide will walk you through integrating Auth0 authentication with your SpacetimeDB application.
1010

1111
## Prerequisites
1212

docs/versioned_docs/version-1.12.0/00300-resources/00200-reference/00200-http-api/00200-identity.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Generate a short-lived access token which can be used in untrusted contexts, e.g
3939

4040
| Name | Value |
4141
| --------------- | ----------------------------------------------------------------------------- |
42-
| `Authorization` | A Spacetime token [encoded as Basic authorization](./00100-authorization.md). |
42+
| `Authorization` | A Spacetime token [encoded as Bearer authorization](./00100-authorization.md). |
4343

4444
#### Returns
4545

@@ -81,7 +81,7 @@ Associate an email with a Spacetime identity.
8181

8282
| Name | Value |
8383
| --------------- | ----------------------------------------------------------------------------- |
84-
| `Authorization` | A Spacetime token [encoded as Basic authorization](./00100-authorization.md). |
84+
| `Authorization` | A Spacetime token [encoded as Bearer authorization](./00100-authorization.md). |
8585

8686
## `GET /v1/identity/:identity/databases`
8787

@@ -99,11 +99,11 @@ Returns JSON in the form:
9999

100100
```typescript
101101
{
102-
"addresses": array<string>
102+
"identities": array<string>
103103
}
104104
```
105105

106-
The `addresses` value is an array of zero or more strings, each of which is the address of a database owned by the identity passed as a parameter.
106+
The `identities` value is an array of zero or more strings, each of which is the identity of a database owned by the identity passed as a parameter.
107107

108108
## `GET /v1/identity/:identity/verify`
109109

@@ -119,7 +119,7 @@ Verify the validity of an identity/token pair.
119119

120120
| Name | Value |
121121
| --------------- | ----------------------------------------------------------------------------- |
122-
| `Authorization` | A Spacetime token [encoded as Basic authorization](./00100-authorization.md). |
122+
| `Authorization` | A Spacetime token [encoded as Bearer authorization](./00100-authorization.md). |
123123

124124
#### Returns
125125

0 commit comments

Comments
 (0)