Skip to content

Commit

Permalink
[Docs] Update "generating a token" section to include link to the ser…
Browse files Browse the repository at this point in the history
…ver-side docs
  • Loading branch information
sierpinskid committed Apr 10, 2024
1 parent a23a97e commit 4ea8abd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ var sfuWebSocket
serializer, timeService, networkMonitor, applicationInfo, logs, config);
}

//StreamTodo: review if this is valid for video SDK
/// <summary>
/// Create Development Authorization Token. Dev tokens work only if you enable "Disable Auth Checks" in your project's Dashboard.
/// Dev tokens bypasses authorization and should only be used during development and never in production!
Expand Down
7 changes: 3 additions & 4 deletions docusaurus/docs/Unity/03-guides/01-client-auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ public class VideoClient : MonoBehaviour

### Generating a token

* Tokens need to be generated server side. You can use our server side SDKs to quickly add support for this.
Typically you integrate this into the part of your codebase where you login or register users.
The tokens provide a way to authenticate a user or give access to a specific set of calls.
Tokens provide a way to authenticate a user or give access to a specific set of calls. They're similar to passwords but offer more flexibility, allowing you to set the expiry date. For security reasons, tokens need to be generated server-side.
Typically, you integrate this into the part of your codebase where you login or register users. You can use our server-side SDKs to easily add support for this. Follow our server-side SDKs [installation](https://getstream.io/video/docs/api/#installation) and [creating-users-and-user-tokens](https://getstream.io/video/docs/api/#creating-users-and-user-tokens) sections for more information.

* Here's a valid user and token to help you get started on the client side, before integrating with your backend API.
Here's a valid user and token to help you get started on the client side before integrating with your backend API:

<TokenSnippet sampleApp='meeting' displayStyle='credentials'/>

Expand Down

0 comments on commit 4ea8abd

Please sign in to comment.