Skip to content
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

[Docs] Update "generating a token" section to include link to the server-side docs #97

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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. For detailed instruction, refer to our server-side docs on [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).

* 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
Loading