google-apis-rs / generator

A binding and CLI generator for all google APIs
Apache License 2.0
71 stars 14 forks source link

identitytoolkit does not appear to need an OAuth token #23

Open mwilliammyers opened 4 years ago

mwilliammyers commented 4 years ago

I don't think any of the identity platform APIs require an OAuth token in the request header...

https://cloud.google.com/identity-platform/docs/use-rest-api#section-verify-custom-token

If that is true, we should probably not require auth in the Client etc. (nor should we even depend on auth crates)...

mwilliammyers commented 4 years ago

Ahh, some of the request options require an OAuth2 token, e.g. using local_id for a GoogleCloudIdentitytoolkitV1SignUpRequest...

I am not entirely sure what we should do, but for now I am more than happy to continue using it as is (sending a token on every request like all of the other clients).