How to use PUN and Photon Server to Custom Authentication and store data in a local SQL database?
Options
fpsnoob
✭
I am new to Photon, who could answer my questions? Thanks
0
Comments
-
The main question is how does a PUN communicate with Photon Server over the network.0
-
hi, @fpsnoob
main question answer:
- using protocol tcp, udp, web socket and secure web socket
here is realtime docs: https://doc.photonengine.com/en-us/realtime/current/getting-started/realtime-intro
and here is self hosted server docs: https://doc.photonengine.com/en-us/server/current/getting-started/photon-server-intro
best,
ilya0 -
@chvetsov mod
thank for you answer
Now I have a new puzzle,When I Setup For Photon Server.
It says your authentication provider's endpoint.in the documentation,but i don't know the effect of authURL.
https://doc.photonengine.com/en-US/server/v4/applications/loadbalancing/custom-authentication#use_case_example__block_old_client_versions
So how do I set this URL?And How should I write the code to get the account password sent by pun?
Looking forward to your reply.0 -
hi, @fpsnoob
here is one of our urls that do not work now: http://photon.webscript.io/auth-demo
this end point will get parameters either as url parameters if you use GET request or you have to get it from request if you use POST request.
just try it and you'll see
best,
ilya0