Laravel-Twitch icon indicating copy to clipboard operation
Laravel-Twitch copied to clipboard

Add guard to handle twitch extension api requests

Open ghostzero opened this issue 2 years ago • 1 comments

  • Add extension guard for extensions
  • Bump php support, since it's not supported anymore(including security updates)

TODO:

  • Complete docs

ghostzero avatar Jun 28 '22 22:06 ghostzero

Seems to work now :D

ghostzero avatar Oct 19 '22 21:10 ghostzero

Btw. I don't think the tests below PHP 8.0 are necessary. Every version < PHP 8.0 doesn't even get security updates anymore and even PHP 8.0 is out of active support.

Katzen48 avatar Mar 04 '23 19:03 Katzen48

To be honest I don't really understand which use case will be covered with adding an auth guard. Could you share an example?

romanzipp avatar Mar 09 '23 17:03 romanzipp

When making an extension, you may need to call your backend. For authentication, Twitch provides a JWT signed by the Twitch backend (see docs).

A guard for this use case could reduce the work for implementing this in every project anew.

Katzen48 avatar Mar 09 '23 22:03 Katzen48