Autodesk Platform Services (Forge) OAuth2 Provider for Laravel Socialite
socialiteproviders/aps is a Laravel package for autodesk platform services (forge) oauth2 provider for laravel socialite.
It currently has 0 GitHub stars and 129 downloads on Packagist (latest version 5.1.0).
Install it with composer require socialiteproviders/aps.
Discover more Laravel packages by socialiteproviders
or browse all Laravel packages to compare alternatives.
Last updated
This is a socialite provider for Autodesk APS (formerly Forge).
composer require socialiteproviders/aps
Please see the Base Installation Guide, then follow the provider specific instructions below.
config/services.php// Autodesk APS (Forge)
'autodesk_aps' => [
'client_id' => env('AUTODESK_APS_CLIENT_ID'),
'client_secret' => env('AUTODESK_APS_CLIENT_SECRET'),
'redirect' => env('AUTODESK_APS_REDIRECT_URI'),
],
In Laravel 11, the default EventServiceProvider provider was removed. Instead, add the listener using the listen method on the Event facade, in your AppServiceProvider boot method.
Event::listen(function (\SocialiteProviders\Manager\SocialiteWasCalled $event) {
$event->extendSocialite('autodeskaps', \SocialiteProviders\AutodeskAPS\Provider::class);
});
Add the event to your listen[] array in app/Providers/EventServiceProvider. See the Base Installation Guide for detailed instructions.
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
// ... other providers
\SocialiteProviders\AutodeskAPS\AutodeskAPSExtendSocialite::class.'@handle',
],
];
You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):
return Socialite::driver('autodeskaps')->redirect();
Make sure to ask for the proper scopes.
idemailemail_verifiedusernamefull_namefirst_namelast_namelanguageimagewebsite