Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Are Service Account Email and Private Key File necessary? #18

Closed
zackharley opened this issue Aug 9, 2016 · 2 comments
Closed

Are Service Account Email and Private Key File necessary? #18

zackharley opened this issue Aug 9, 2016 · 2 comments

Comments

@zackharley
Copy link

I'm using the identity toolkit to verify tokens, but I've removed the serviceAccountEmail and serviceAccountPrivateKeyFile fields in my gitkit.server.config.js file and the identity toolkit sign in still works. Do I actual need to include the serviceAccountEmail and serviceAccountPrivateKeyFile fields?

This is my gitkit.server.config.js:

const widgetHost = process.env.APP_HOST || 'localhost:8000';

let config = {
  clientId: '*************',
  projectId: '***********',
  widgetUrl: `http://${widgetHost}/gitkit`,
  cookieName: 'gtoken'
};

export default config;
@wyhao31
Copy link
Contributor

wyhao31 commented Aug 9, 2016

Hi Zack,

If you only need to verify tokens, service account email and private key are not required. These service account info are only needed when you want to do something using service account, such as downloading all your users' accounts.

Thanks.

@zackharley
Copy link
Author

Great to know! Thanks a ton

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants