diederich / moneymoney-monzo

Extension for MoneyMoney.app to query data from Monzo UK
MIT License
2 stars 1 forks source link

Unable to login #1

Closed midi closed 5 years ago

midi commented 6 years ago

Hi, I'm using the extension with my own API details. Once I start the account setup, I'm getting to the dialogue where it asks for my email. Upon entering, then button to request the email does not give any result. It works outside of the app, with my email address. Is this reproducible for you?

I'm running 2.3.6. Beta with extension validation disabled. Do not see any errors in the console.

diederich commented 6 years ago

Hey! I’m on my way to Boom Festival, but the last time I checked it was still working - probably on Thursday/Friday, so I’d assume it’s fine? ;-) I can’t remember if we had to put something specific regarding my api credentials into Money Money - maybe that’s the issue? I think I could add your userid to the app if that’s something you wanna try? Also - thanks for testing. I think you might be the first one :-)

midi commented 6 years ago

Hmm, maybe it's only the setup process. I will tinker a bit more. I'd rather keep my userid private, but thanks for the offer and the extension :) I'll report back should I find a way to fix it.

gdelmas commented 5 years ago

hey @midi and @diederich ,

i have exactly the same problem. the button does not do anything. the logs just show: Sending: POST https://api.monzo.com/oauth2/authorize

were you able to solve this?

diederich commented 5 years ago

Hey @gedelmas! I’m using it at least once a week, so it’s generally possible to work :-)

I’m not sure what it is with the setup. IIRC someone else commented to this recently as well, but then deleted the comment again. (So it might just be something that’s easily overlooked ;-)) So let us know / post back when you figure something out!

gdelmas commented 5 years ago

might there have been some whitelisting by @mrh-line? the extension i am using is obviously not signed anymore, after changing the oauth client id and secret.

@mrh-line is there any way to open developer tools in the browser window?

gdelmas commented 5 years ago

looks like passing the redirect_uri by parameter alone is not enough or might not even have any effect. moneymoney-app://oauth has to be set on the monzo developer dashboard as Redirect URLs.

mrh-line commented 5 years ago

@gdelmas Please call the menu function »Window« → »Log« in MoneyMoney to see the error messages. If in doubt about the sent HTTP headers or HTTP POST content, insert a print() into the Lua script.

diederich commented 5 years ago

Should be fixed with #2 thanks to @gdelmas 🎆 🍾