FlashChat Wordpress plugin

How to Configure Settings Correctly (WordPress ↔ FlashChat)

1) In the FlashChat admin panel (for each server):

Enable Single Sign-On = On

Single Sign-On Mode = JWT

JWT Secret: The same value as Shared Secret in WordPress (exactly the same)

JWT Source (optional): If you place it in one location, it must be placed in the same location professionally.

Example: https://123flashchat.net/wp

JWT Audience (optional): Must also match.

Example: FlashChat

Clock Tolerance: 120–300 seconds is suitable

Important Note from your image: If you have a full “JWT Secret” in the admin panel and you have a different, outdated secret, SSO will not work. You must ensure that the secret on the server is currently in the plugin.

2) In WordPress (Settings → FlashChat SSO)

Chat URL: The correct chat.html URL on the chat domain

Primary API URL: https://YOUR_CHAT_DOMAIN/api/v1

API Key: The same username as api_key found on the web

Server Name: Exactly the same as the server name

Shared Secret: According to the JWT secret on the server

Sender/Public JWT: Either leave them halfway between both, or set them to the same value in both

  •  
  • 0 Uživatelům pomohlo
Byla tato odpověď nápomocná?