Open Dnouv opened 2 years ago
@Dnouv Can you specify in the code, where are we doing Google auth?
@Shivam164, you can explore the project directory; it is well organized to locate many different components quickly. Here is the component file (https://github.com/RocketChat/RC4Conferences/tree/main/app/components/auth/goauth)
The directory can be read as follows:
components
components
, we have all the components listed, now since you are looking for something related to Authentication, it should be under auth
(first four letters of Authentication)goauth
.firebase
Thank you!
Hey, @Dnouv I got your point about this issue currently we are using Gapi-cjs in this file using the google auth and getting the access_token, and id_token we want to change that and use something which is provided by NextAuth like this correct me if I am wrong I want to work on this issue as I have a deep understanding of how google auth is working behind the scene and I am aware of Roket Chat API and how they work and I think correctly I don't have much better ideas and solutions for this issue ill try to come up with a better idea for this for sure once I get a better idea of how scripts work in this project for a now I am willing to do fix this issue please assign it to me Thank you!!
Currently, the Rocket Chat authentication is based on Google OAuth, and the component which handles the authentication does it using API calls inside the custom function files. To make it more compatible with the NextJS, explore the possibility of migrating the Authentication handling with the NextAuth.
Thank you!