wyyerd / google-signin-rs Goto Github PK
View Code? Open in Web Editor NEWRust API bindings for Google Sign-in
License: Apache License 2.0
Rust API bindings for Google Sign-in
License: Apache License 2.0
Please consider publishing v0.4 to crates.io, which currently still has v0.3.
The error message is:
"failed to select a version for the requirement untrusted = "^0.5"
"
$ cargo add google-signin
Updating crates.io index
Adding google-signin v0.3.0 to dependencies.
Features:
+ hyper-rustls
+ with-rustls
- hyper-openssl
- with-openssl
error: failed to select a version for the requirement `ring = "^0.9"`
candidate versions found which didn't match: 0.16.20, 0.16.19, 0.16.18, ...
location searched: crates.io index
required by package `rustls v0.8.0`
... which satisfies dependency `rustls = "^0.8"` of package `hyper-rustls v0.6.0`
... which satisfies dependency `hyper-rustls = "^0.6"` of package `google-signin v0.3.0`
... which satisfies dependency `google-signin = "^0.3.0"` of package `my-project v0.1.0 (/home/user/GitHub/my-project)
Please add a very visible warning to the readme that this repo does not actually verify the JWT tokens yet.
It is currently very easy to a user to find this library on crates.io and assume it is handling auth correctly, without actually looking at the source code.
// TODO: Use JWT to verify the token with cache-control'd google certs
For high-volume sign-ins, Google recommends caching their client certificate according to cache-control headers on the HTTPS request used to fetch them.
We should switch the main verify
function to use this flow instead of the slower "debug" flow using the tokenid
endpoint.
See https://developers.google.com/identity/sign-in/web/backend-auth for more details.
Adding dependency to cargo.toml results in error
Hi,
on crates.io, the "Repository" link points to https://github.com/wyyerd/google-signin which is missing the "-rs".
Cheers,
R
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.