Skip to content

Commit

Permalink
about pnm_access_token cookie name
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Nov 25, 2023
1 parent 24bb019 commit cc31d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/room/join.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ End point: `/room/getJoinToken`
| msg | string | root | Response message |
| token | string | root | Join token |

When you'll receive token during that time you can pass that token to plugNmeet-client. If you've setup it with plugNmeet-server then:
When you'll receive token during that time you can pass that token to plugNmeet-client by GET/search value of `access_token` or cookie name `pnm_access_token`. If you've setup it with plugNmeet-server then:

```
https://Your-Plug-N-Meet-Server.com/?access_token=<TOKEN HERE>
Expand Down
1 change: 1 addition & 0 deletions docs/tutorials/quick_php.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ if ($isRoomActive && $output->status) {
$join = $connect->getJoinToken($roomId, $user_full_name, $userId, true);

$output->url = $config->plugnmeet_server_url . "?access_token=" . $join->getToken();
// or you can set cookie name `pnm_access_token` with that token & redirect
$output->status = $join->getStatus();
$output->msg = $join->getResponseMsg();
} catch (Exception $e) {
Expand Down

0 comments on commit cc31d56

Please sign in to comment.