SocialiteProviders / Providers

A Collection of Providers for Laravel Socialite
https://socialiteproviders.com
MIT License
487 stars 435 forks source link

feat: add Aikido OAuth support #1225

Closed olivernybroe closed 1 week ago

olivernybroe commented 1 week ago

This PR adds support for Aikido's OAuth provider https://apidocs.aikido.dev/

Aikido does not have a user endpoint, but have a workspace endpoint instead. An authentication is tied to the workspace, not to the specific user.

Aikido is also one of the providers which uses Basic auth in the headers for client and secret for their token requests.

olivernybroe commented 5 days ago

@lucasmichot The provider is not working anymore as the Basic auth header was removed from my original pr.

Without sending the Basic auth header in the token request, it will cause the following error message

    Client error: `POST https://app.aikido.dev/api/oauth/token` resulted in a `401 Unauthorized` response:
    {"error":"invalid_client","error_description":"The request is missing an Authorization header"}
olivernybroe commented 5 days ago

Created a new pr to fix it #1227