ucsb-cs56-w20 / ucsb-courses-search

Spring Boot App to show similar information to that found at UCSB Curriculum Search page
https://ucsb-courses-search.herokuapp.com
2 stars 5 forks source link

Team 6pm e implement google oauth #199

Closed AndrewJGaut closed 4 years ago

AndrewJGaut commented 4 years ago

Replaced Github with Google Oauth. To do so, I removed some Github-specific methods from the MembershipService interface, and replaced the GithubOrgMembershipService class with UserMembershipService and made the methods generalizable. To set up Google Oauth, you can use the instructions at this link here: https://github.com/ucsb-cs56-w20/lab07-AndrewJGaut/tree/agCallAPI

One of the links on the /login page still says login with Github; however, to remove that, we need to adjust the ClientRegistrationRepository portion of the database, I believe, so I've left that in there for now and marked it with a comment.

IMPORTANT: In order to be able to access the image, you MUST enable Google+API on your Google dashboard. Just go this link: [https://console.developers.google.com/apis/library/plus.googleapis.com?q=google%20plus&id=98f0e0cd-7dc7-469a-baac-d5ed9a99e403&project=ucsb-courses-sea-1582352668576&folder&organizationId](https://console.developers.google.com/apis/library/plus.googleapis.com?q=google%20plus&id=98f0e0cd-7dc7-469a-baac-d5ed9a99e403&project=ucsb-courses-sea-1582352668576&folder&organizationId . Then press enable