Skip to content

Commit

Permalink
fix: incorrect config property name used in code samples (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
charIeszhao authored Jan 26, 2025
1 parent 040b3cd commit be86013
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ This happens when new permissions are introduced into your organization template
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
scopes: [
'urn:logto:scope:organizations',
// ... your other existing organization permission scopes,
Expand All @@ -106,5 +106,5 @@ Secondly, each of your client application need to re-consent or re-login the use
Code example for re-consent:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This happens when new permissions are introduced into your system. In this case,
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
resources: ['your-api-resource'],
scopes: [
// ... your existing permission scopes,
Expand All @@ -85,7 +85,7 @@ Secondly, each of your client application need to re-consent or re-login the use
Code example for re-consent:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```

## Related resources \{#related-resources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Dies geschieht, wenn neue Berechtigungen in dein Organisationstemplate eingefüh
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
scopes: [
'urn:logto:scope:organizations',
// ... deine anderen bestehenden Organisationsberechtigungsumfänge,
Expand All @@ -106,5 +106,5 @@ Zweitens muss jede deiner Client-Anwendungen die Benutzer erneut um Zustimmung b
Codebeispiel für erneute Zustimmung:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Dies geschieht, wenn neue Berechtigungen in dein System eingeführt werden. In d
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
resources: ['your-api-resource'],
scopes: [
// ... deine bestehenden Berechtigungsbereiche,
Expand All @@ -85,7 +85,7 @@ Zweitens muss jede deiner Client-Anwendungen die Benutzer erneut um Zustimmung b
Codebeispiel für erneute Zustimmung:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```

## Verwandte Ressourcen \{#related-resources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Esto sucede cuando se introducen nuevos permisos en tu plantilla de organizació
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
scopes: [
'urn:logto:scope:organizations',
// ... tus otros alcances de permisos de organización existentes,
Expand All @@ -106,5 +106,5 @@ En segundo lugar, cada una de tus aplicaciones cliente necesita volver a consent
Ejemplo de código para volver a consentir:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Esto sucede cuando se introducen nuevos permisos en tu sistema. En este caso, pr
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
resources: ['your-api-resource'],
scopes: [
// ... tus alcances de permisos existentes,
Expand All @@ -85,7 +85,7 @@ En segundo lugar, cada una de tus aplicaciones cliente necesitará volver a cons
Ejemplo de código para volver a consentir:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```

## Recursos relacionados \{#related-resources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Cela se produit lorsque de nouvelles permissions sont introduites dans votre mod
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
scopes: [
'urn:logto:scope:organizations',
// ... vos autres portées de permission d'organisation existantes,
Expand All @@ -106,5 +106,5 @@ Deuxièmement, chacune de vos applications clientes doit redemander le consentem
Exemple de code pour redemander le consentement :

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Cela se produit lorsque de nouvelles permissions sont introduites dans votre sys
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
resources: ['your-api-resource'],
scopes: [
// ... vos portées de permission existantes,
Expand All @@ -85,7 +85,7 @@ Deuxièmement, chacune de vos applications clientes doit re-consentir ou reconne
Exemple de code pour re-consentir :

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```

## Ressources connexes \{#related-resources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ curl \
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
scopes: [
'urn:logto:scope:organizations',
// ... 他の既存の組織権限スコープ,
Expand All @@ -106,5 +106,5 @@ new LogtoClient({
再同意のコード例:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sequenceDiagram
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
resources: ['your-api-resource'],
scopes: [
// ... 既存の権限スコープ,
Expand All @@ -85,7 +85,7 @@ new LogtoClient({
再同意のコード例:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```

## 関連リソース \{#related-resources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Isso acontece quando novas permissões são introduzidas no seu modelo de organi
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
scopes: [
'urn:logto:scope:organizations',
// ... seus outros escopos de permissão de organização existentes,
Expand All @@ -106,5 +106,5 @@ Em segundo lugar, cada um dos seus aplicativos cliente precisa reconsentir ou re
Exemplo de código para reconsentimento:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Isso acontece quando novas permissões são introduzidas no seu sistema. Nesse c
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
resources: ['your-api-resource'],
scopes: [
// ... seus escopos de permissão existentes,
Expand All @@ -85,7 +85,7 @@ Em segundo lugar, cada um dos seus aplicativos cliente precisa re-consentir ou r
Exemplo de código para re-consentimento:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```

## Recursos relacionados \{#related-resources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ curl \
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
scopes: [
'urn:logto:scope:organizations',
// ... 你其他现有的组织权限范围,
Expand All @@ -106,5 +106,5 @@ new LogtoClient({
重新同意的代码示例:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sequenceDiagram
```tsx
new LogtoClient({
appId: 'your-app-id',
redirectUrl: 'your-redirect-url',
endpoint: 'your-logto-endpoint',
resources: ['your-api-resource'],
scopes: [
// ... 你现有的权限范围,
Expand All @@ -85,7 +85,7 @@ new LogtoClient({
重新同意的代码示例:

```tsx
signIn({ redirectUrl: 'your-redirect-url', prompt: 'consent' });
signIn({ redirectUri: 'your-redirect-url', prompt: 'consent' });
```

## 相关资源 \{#related-resources}
Expand Down

0 comments on commit be86013

Please sign in to comment.