{"repo":"ueberauth/ueberauth_google","free":true,"listed":false,"github":"https://github.com/ueberauth/ueberauth_google","clone":"git clone https://github.com/ueberauth/ueberauth_google.git","description":"Google OAuth2 Strategy for Überauth.","language":"Elixir","stars":177,"topics":["ueberauth","ueberauth-strategies","google","strategy","oauth2","oauth"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Überauth Google Google OAuth2 strategy for Überauth. Installation 1. Setup your application at Google Developer Console. 2. Add :ueberauth google to your list of dependencies in mix.exs : 3. Add Google to your Überauth configuration: 4. Update your provider configuration: Use that if you want to read client ID/secret from the environment variables in the compile time: Use that if you want to read client ID/secret from the environment variables in the run time: 5. Include the Überauth plug in your controller: 6. Create the request and callback routes if you haven't already: 7. Your controller needs to implement callbacks to deal with Ueberauth.Auth and Ueberauth.Failure responses. For an example implementation see the Überauth Example application. Calling Depending on the configured url you can initiate the request through: /auth/google Or with options: /auth/google?scope=email%20profile By default the requested scope is \"email\". Scope can be configured either explicitly as a scope query value on the request path or in your configuration: You can also pass options such as the hd parameter to suggest a particular Google Apps hosted domain (caution, can still be overridden by the user), prompt and access type options to request refresh tokens and offline access (both have to be present), or include granted scopes parameter to allow incremental authorization. In some cases, it may be necessary to update the user info endpoint, such as when deploying to countries that block access","default_branch":null,"files":null,"tree":[],"storefront":"/r/ueberauth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ueberauth/ueberauth_google/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}