-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Added Rocket.Chat Auth component supporting Google OAuth #183
[FEAT] Added Rocket.Chat Auth component supporting Google OAuth #183
Conversation
This pull request introduces 1 alert when merging 6c5d966 into 04f9a06 - view on LGTM.com new alerts:
|
This is awesome work @Palanikannan1437 ! Please wire up the "Click to Chat" button top right for proper behavior. It will demonstrate to all users how to use the auxiliary data obtained from Auth. (which is a major feature of the auth component) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a good idea to commit package-lock.json -- most of the time it will cause problem for others.
This pull request introduces 1 alert when merging 4efe59b into 04f9a06 - view on LGTM.com new alerts:
|
4efe59b
to
d051992
Compare
Ohh! I had no idea, thank you so much for letting me know about this! I have made made the requested changes @Sing-Li Also, w.r.t to the given tasks...I'm still trying to understand the entire workflow of the RC4Conferences app...will come up with a PR for the same soon💪 |
This pull request introduces 1 alert when merging d051992 into 04f9a06 - view on LGTM.com new alerts:
|
Cool. You probably don't need to know the entire workflow to wire the click-to-chat button. That's the whole idea of being componentized - you don't need to know what other components (such as the RC4Conferences components) are doing. |
Yup that's definitely true! I got it working!! I'll send a PR asap after cleaning the code a bit! I just wanted to know the entire workflow in order to make significant contributions in the future and to get a basic idea of how things are working as a whole😁 |
This pull request introduces 2 alerts when merging 2ec67ff into 04f9a06 - view on LGTM.com new alerts:
|
This pull request introduces 3 alerts when merging 786f260 into 04f9a06 - view on LGTM.com new alerts:
|
Hey @Sing-Li I've added the requested changes to the
Current Issues I'm facing,
|
@Palanikannan1437 thank you.
Instead of redirecting, can we pop up the login dialog (as if they clicked the login button)? |
Ohh yeah sure, like the login modal from the login button would have to be triggered or a new similar modal from this button has to be triggered? @Sing-Li |
@Palanikannan1437 hope you've concluded with @Dnouv that the "click to chat" button should not be visible (as with certain other TopNav elements) if the user is logged out. |
Ohhh okay, I'll make these changes asap then! |
This pull request introduces 3 alerts when merging b2d54e7 into 04f9a06 - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging a74e9e6 into 04f9a06 - view on LGTM.com new alerts:
|
Thanks @Palanikannan1437 |
…etChat#183) * added Rocket.Chat Auth component supporting Google OAuth * removed conf related hashing functions and dependencies * click to chat button functionality with google oauth added * 2fa resend method added and click to chat logic improved * hide click to chat from UI if not logged in * channel name made configurable via parameter
Closes the Rocket.Chat Auth component supporting Google OAuth part of #182
Issue in brief
Evolution of the RC4Community platform has been happening on RC4Conferences project. In order to start the above process, Auth re-work has to be done, starting with supporting Google OAuth in Rocket.Chat Auth!
Suggested Fixes/Changes
hashmail
to cookies.env.local.sample
for hashingRocket.Chat Auth Component
for future support!Demo of the above Suggested Changes
login
andlogout
into the Rocket.Chat instance with Google as the OAuth Provider!Fixes/Changes after suggestions
Click to Chat
button!Click to Chat
button from UI if user is not logged in!user
object from auth for accessibility across necessary componentsDemo of the new Changes after suggestions