jorttbv / jortt-ruby

Jortt API Client

Home Page:https://www.jortt.nl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for authorization_code in gem

lvonk opened this issue · comments

The 5.0.0 version of the gem currently hardcodes the client credentials flow. It should support the https://developer.jortt.nl/#authorization-code-grant-type as well.

See

@token = client.client_credentials.get_token(scope: "invoices:read invoices:write customers:read customers:write")

Fixed in #34