Byron / google-apis-rs

A binding and CLI generator for all Google APIs
http://byron.github.io/google-apis-rs
Other
983 stars 132 forks source link

Why isn't there a google oauth api bindings crate? #460

Closed Jamzy01 closed 7 months ago

Jamzy01 commented 7 months ago

I would like a google oauth bindings crate for a tauri app I'm working on. I'm logging in using oauth and using that access token with your google drive v3 crate, which is all working fine. But on the login page, I want to show the user their email, name and profile picture, so they actually know which google account they are logged into. In the app's current state, it will be easier for me (and way more secure) to just retrieve this data from rust so I don't actually have to pass the access token to js. But I can't seem to find any oauth2 crates in the master crates list. I'm not exactly sure why it's not there since it's in the etc folder here, plus it's in the apis.json.