Hi everyone!
Quick question:
I am trying to connect to the openID authentication as described here
https://developers.w...wot/auth/login/
I've already gotten my code to work and I can login without any problems. Yet there still IS a problem anyway:
The way I got it to work was by using the location header of php. But as it seems the location header is only capable of passing arguments via GET rather than POST. I do not want my application ID to become accessable to the user however - using my method right now, any user could just turn to the dev console of his browser and check the network tab. I am pretty sure there has to be quite a simple way to achieve this but I just seem to be too stupid to figure this out myself. The documentation itself provides a switch for GET / POST and seems to use a form to build the POST-Data.
But as long as I do not want to store my app-ID in some hidden field of the form - which in turn would make it again accessable for any user of the website - or POST it to a script on my server, add the missing arguments there and redirect once again with php header (with the same problem as described initially) and can't figure out a way to do this?
Could anyone please help me out?
Thank you guys very much!
Best regards!
Timmel