Open Fabian-Sommer opened 6 years ago
Ideally, people are able to log in with their battle.net accounts.
Can be in addition to what we have right now or replacing it, seeing as everyone has to have a bnet account as is
Do we want people to login with their battle.net accounts though? I thought this was mainly for validating the battletag and as proof of access to the account, as well as preparation for the promised Blizzard api at the time.
Is this bnet class perhaps applicable here? plugins\rikki\heroeslounge\classes\oauth\bnet.php (btw clientId and clientSecret really should not live in the codebase -- can you set up env vars on your hosting provider?)
There are plugins for oauth providers, perhaps one already supports bnet? e.g. https://www.twilio.com/blog/add-facebook-twitter-github-login-laravel-socialite
I recall there being a start with socialite in the oauth class, but I don't know how far / useful that code is
Do you mean instead of the laravel/October cms auth system? Or as an option somehow?