react-oauth
gapi-cjs
react-oauth | gapi-cjs | |
---|---|---|
1 | 1 | |
966 | 0 | |
- | - | |
4.9 | 1.8 | |
about 1 month ago | almost 2 years ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-oauth
-
[PART-II] GSoC 2022 | Rocket.Chat | EmbeddedChat
It seems to be simple at first, but it took a lot of research. At first I thought there must be a library that I could use, right? The closest I got was a library called -@react-oauth/google but it wasn't compatible with how RocketChat Google OAuth endpoint handled requests. It needed both acessToken and idToken but here on successful login we could get either accessToken or code object. The idToken is the JWT hashed version of code object. You can read more about it here. So after a while of research, I started implementing a custom hook which could handle this with the plain gapi-script from scratch. But, the gapi-script introduced some errors/warnings. So, I went and fixed the code and published my own library around it.
gapi-cjs
-
[PART-II] GSoC 2022 | Rocket.Chat | EmbeddedChat
Created a fixed version of gapi-script library called gapi-cjs
What are some alternatives?
Pizzly - The simplest, fastest way to integrate your app with an OAuth API [Moved to: https://github.com/NangoHQ/nango]
gapi-script - npm package to load gapi script and initialize some functions
EmbeddedChat - An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
react-aad - A React wrapper for Azure AD using the Microsoft Authentication Library (MSAL). The easiest way to integrate AzureAD with your React for authentication.
next-auth - Authentication for the Web.
Rocket.Chat.js.SDK - Utility for apps and bots to interact with Rocket.Chat via DDP and/or API
Rocket.Chat - The communications platform that puts data protection first.
Pizzly - The simplest, fastest way to integrate your app with an OAuth API
authentication-unity - OAuth 2.0 Client for Unity