symfony and google identity toolkit

152 views Asked by At

Newbie to PHP and Symfony. Trying to get Symfony to work with google identity toolkit. I followed the steps listed here: https://developers.google.com/identity/toolkit/web/quickstart/php

Confused as to where we put the server-side configuration file gitkit-server-config.json [which has the path to the P12 key]

Also, is the path to the key (defined in serviceAccountPrivateKeyFile) an url path or a filesystem path?

Would be great to see if anyone has successfully implemented google identity toolkit with Symfony.

1

There are 1 answers

0
dsalama On

The path to the key is a filesystem path. If you want to dig into how the config file is used, you can check out the open source client library.

I'm not particularly familiar with symfony, but you should host the json config file as a private static file.