Skip to main content

GOOGLE

Constant GOOGLE 

Source
pub const GOOGLE: Provider;
Expand description

Google (OpenID Connect): scopes openid email profile.

Create an OAuth client ID (“Web application”) at https://console.cloud.google.com/apis/credentials with the redirect URI https://<your host>/auth/google/callback (and the localhost:8787 one for ocre dev).

§Examples

assert_eq!(ocre::oauth::GOOGLE.scopes, "openid email profile");