question

harsh avatar image
harsh asked

Photon Realtime and Chat Auth Failure

I need to authenticate both realtime and chat.

In Game Manager, there's options to set both app id and chat app id. If I set App Id to Realtime App Id and try to authenticate, it works. However, when I try to authenticate with Chat App Id, it gives me

/Client/GetPhotonAuthenticationToken: PhotonApplicationNotAssociatedWithTitle error.

If I set the App Id to the Chat App Id in the game manager, and then try to authenticate, it authenticates the chat application.

TLDR Can only auth either realtime or chat.

How should I proceed?

photonAuthenticationgame managerCharacters
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Did you follow these tutorials for setting up Realtime & Chat with PlayFab?

How to set up Photon Realtime with PlayFab

How to set up Photon Chat with PlayFab

It worked fine with my title, Realtime & Chat App each have their own app ids:


1.png (28.5 KiB)
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.