Alexa skill - Account linking - anyone got it working with Monzo

I’m looking to create an Alexa skill (unpublished/personal for now) so I can query my Monzo balance and recent transactions.

I want to use the account linking on the skill - following Monzo’s OAuth flow. I get the screen to enter my email, I receive the email with the magic link, but linking fails.

I have the Alexa re-direct URLs in my client.

Anyone got this working, or any ideas?

2 Likes

Hi there,

Were you ever able to get this working? I cannot seem to get the account linking to work, I get the following error with I try to link the account in the Alexa App (and through the web)

This site can’t be reached

auth.getmondo.co.uk ’s server IP address could not be found.

  • [Try running Windows Network Diagnostics](javascript:diagnoseErrors()).

DNS_PROBE_FINISHED_NXDOMAIN

Thank you.

P

I think the OAuth endpoint is auth.monzo.com now, resolves to a different IP for me. Not sure if they’re planning on continuing support for their old domain.

1 Like

I didn’t get the account linking working (although I haven’t tried for a while). However, I started making a personal skill (that won’t be published).

I haven’t had much time to work on it since I first started looking at it - I’m happy to put it on GitHub for others to use or take inspiration from.

Will share the link later.

1 Like

Here’s the project - https://github.com/chearmstrong/ask-monzo

Essentially to get this to work, I’m not using account linking. Instead, I’m adding my access token and account ID to the environment variables.

I’ve added some notes in the README.md too.

It’s a little rough, but I hope it helps some people.

1 Like

Thanks Lewis, I was using an old url. I am now getting the link account page in alexa however when I enter my email address, the page is not redirected and no email is received. I see from inspecting the request/response that it is returning a 400 Bad Request response.

Can seem to see what would be wrong with the request.