umgc / fall2022

SWEN 670 Fall 2022 cohort
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

Add Google OAuth support #631

Closed JesterSe7en closed 2 years ago

JesterSe7en commented 2 years ago
shaneknows commented 2 years ago

I'm sure it's very close, but I'm still getting Login Credentials Failed. Is there anything i need to do to get it working locally/with downloaded apk?

image

JesterSe7en commented 2 years ago

@shaneknows There's probably something I need to do in the developer console.

I had to generate a SHA1 hash with my debug.keystore -> upload that to Google Firebase SWEN670 project settings to get google sign-in's pop up.

If you have any knowledge on how to get this to work for everyone, let me know. I'll continue to look up how.

Minyahil40 commented 2 years ago

@shaneknows There's probably something I need to do in the developer console.

I had to generate a SHA1 hash with my debug.keystore -> upload that to Google Firebase SWEN670 project settings to get google sign-in's pop up.

If you have any knowledge on how to get this to work for everyone, let me know. I'll continue to look up how.

you can generate the SHA1 key by running the following command from the project folder For Mac: keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

For Windows: keytool -list -v -keystore ".android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

JesterSe7en commented 2 years ago

@shaneknows There's probably something I need to do in the developer console.

I had to generate a SHA1 hash with my debug.keystore -> upload that to Google Firebase SWEN670 project settings to get google sign-in's pop up.

If you have any knowledge on how to get this to work for everyone, let me know. I'll continue to look up how.

Would using the keytool command on /android/app/upload-keystore-fall2022.jks and uploading that SHA1 to firebase work?

Running this keytool + default password against that file doesn't work. says incorrect password for me.

JesterSe7en commented 2 years ago

https://stackoverflow.com/questions/27838636/what-is-the-use-of-debug-keystore-in-android

References using a shared debug keystore in teams to facilitate an easier time to debug app.

shaneknows commented 2 years ago

https://stackoverflow.com/questions/27838636/what-is-the-use-of-debug-keystore-in-android

References using a shared debug keystore in teams to facilitate an easier time to debug app.

Ok. Sounds like if I use the version from the play store this should work. Need to fix the merge conflicts and we can get this in

mdconatser commented 2 years ago

need to resolve conflicts