@exweiv/easy-auth
v0.3.0
Published
Integrate popular OAuth apps with your Wix website easily.
Downloads
52
Readme
Easy Auth by ExWeiv Apps
This library enables you to integrate some popular OAuth options with your Wix website or with your Wix Blocks application. This package is not for basic users and designed for customization, so developers can take the skelaton and work with it to integrate the OAuth providers however they want or need.
If you are looking for something basic for your Wix site then you can install Easy Auth application from Wix App Market. The version in the app market is designed for basic use cases or basic users to quickly integrate providers as easy as possible.
Currently this package handles OAuth for:
- Facebook ✅
- Google ✅
- Discord ✅
- GitHub ✅
- Steam ✅ (Read Below)
We are planning to add:
- Microsoft
- Twitch
About Steam OAuth Process
Steam is not providing any actual oauth flow, there isn't any official API to handle auth process with Steam, instead you have openid which plays a role as another 3rd party provider to handle authentication with Steam. But main problem with that is passing state with this option is not possible. Which means a big security issue when you are dealing with auth process.
You'll have two functions, first is redirectURL
second is authUser
which is also possible with other providers but! issue here is as we said you can't pass a state and you won't get any token as response what you'll get is the Steam user id (a public info of any steam user) and you'll make a call to Steam web API to get the public data of user like profile photo nickname etc.
You'll need to find a way to verify logins/users like what we do with states.