Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: Authorization? #5

Open
VikashKothary opened this issue Jul 28, 2023 · 2 comments
Open

question: Authorization? #5

VikashKothary opened this issue Jul 28, 2023 · 2 comments

Comments

@VikashKothary
Copy link

Hi @billinghamj,

Thanks for sharing this.

It was very insightful and really helped me understand what was happening under the hood for Monzo API compared to their official docs.

I would love to actually use these endpoints, but most of them return 403 Forbidden when I try to use them with my OAuth2 client created in the Monzo Playground.

The GET /oauth2/clients seems to show the scopes that I have when creating an access token.
I wonder if you or anyone else here has worked out how to app scopes to this Authorization flow?

@VikashKothary VikashKothary changed the title Authorization? question: Authorization? Jul 28, 2023
@billinghamj
Copy link
Owner

billinghamj commented Jul 28, 2023

@VikashKothary These are the APIs used by Monzo's official end-user apps (though this repo is likely very far out-of-date at this point)

You'd need to connect to the API like one of those apps. Though I believe it became a lot more complex since they implemented changes for the SCA regs (personally haven't done it since then - I'm sure it's totally doable, but I haven't looked into it)

@VikashKothary
Copy link
Author

VikashKothary commented Sep 21, 2023

I knew it unlikely but I thought I'd ask.

Maybe I can try and reverse engineer those scopes from their app when I have the time. Until then I guess I'm limited to their public API.

Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants