learningtapestry / lcms-engine

A Rails engine for Learning Content Management System (LCMS) applications.
Apache License 2.0
5 stars 6 forks source link

Remove OOB flow in Google CLI credentials #228

Closed paranoicsan closed 2 years ago

paranoicsan commented 2 years ago
  1. Update google:setup_auth rake task

Now task conforms with new OAuth application type (now it is Web Application). Also it allows to re-request auth token in case there is already one.

2.Introduce new /oauth2callback endpoint.

Accept a request to this endpoint only from https://accounts.google.com/ referer.

codeclimate[bot] commented 2 years ago

Code Climate has analyzed commit 480b27b3 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (10% is the threshold).

This pull request will bring the total coverage in the repository to 52.6% (0.1% change).

View more on Code Climate.