A package for validating the authenticity of incoming Google Cloud requests such as those used by Google Cloud Tasks or Google Cloud Scheduler. Laravel supported.
You can install the package via composer:
composer require tradecoverexchange/google-cloud-jwt-validator
The only implementation so far is with Laravel. It can be used as a middleware to block requests without a valid JWT authentication token.
<?php // routes/web.php
Route::get('/')
->middleware(
\TradeCoverExchange\GoogleJwtVerifier\Laravel\AuthenticateByOidc::middleware('server_account_email@google.com')
);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Trade Cover Exchange is a platform for insuring your trade with other companies, protecting you from instabilities in the supply chain.
We proudly use the Google Cloud platform for our service and hope to share more of our work with the developer community in the future.
If you discover any security related issues, please email peter@tradecoverexchange.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.