Patrick Gansterer

Results 58 comments of Patrick Gansterer

sorry for the troubles. could you tell me which Linux version do you want to use exactly? i just made it work with my system until now (since i wanted...

Use the `server.errorHandler({ mode: 'indirect' })` middleware in combination with `new AuthorizationError(...)`.

Check the sections about [Authorization Code Grant](https://tools.ietf.org/html/rfc6749#section-4.1.2) and [Implicit Grant](https://tools.ietf.org/html/rfc6749#section-4.2.2) in [RFC6749](https://tools.ietf.org/html/rfc6749) for more information.

sorry for the late reply, unfortunately this is not an easy change. You changed the type of the input fields to `number`. I tried already something similar some time ago,...

IMHO datafoodconsortium should become our main API, also for communication with sharedlists (or maybe we can replace sharedlists with OFN in the future, since it doesn't get much love anyway)

> I'll have a look at the different OAuth flows to see if anything is suitable. @wvengen did you find a nice way for the api_key?

i use this already for the import foodsoft `FinanctialTransaction` into another foodsoft as `BankTransactions` in [the austria fork](https://github.com/foodcoopsat/foodsoft/blob/1b4c2224407c8499a2c8966f3cb90ee267d2b1c8/plugins/banks_austria/lib/foodsoft_banks_austria/bank_account_connector_foodsoft.rb#L22), but this does not work reliable. It often throws an `OAuth2::Error` with...

> Did you find any clue with Doorkeeper? Unfortunately no and i wasn't able to make it 100% reproducible, which makes the whole bug hunting very frustrating.

#783 could explain the doorkeeper problem

the problem is that [the database accepts only integers](https://github.com/foodcoops/foodsoft/blob/dee12418882353a863a5cc03a764cf3bd6e367d1/db/schema.rb#L306). We need to change the database schema first.