Outlook Authentication Issue

Hello everyone! I have been working to implement authentication into my app with Outlook. I have watched several tutorials, but I keep getting this error. Any ideas?

My current pulls:

1 Like

You need to specify the Scopes in the API you’re creating within Bubble.

image

Larger screenshot with fields

1 Like

That does make sense, but can you tell me which plugin you are using in the larger screenshot you included? I’m using the Outlook plugin and I don’t see those options.

It’s a plugin I created myself in Bubble | Build Powerful Full-Stack Apps Without Code. This allows you to setup all the calls you need like below.

2 Likes

Thanks for this mate - My app has been throwing the same error as per Josh’s original post. The weird thing though is that it only happens for some users. Others are able to login in and connect ok. Any thoughts?

That great @Kfawcett! I’m going to take a look this morning. I’ve been looking for a detailed option since many of the other plugins are a little limited. This seems pretty detailed.

@josh10, I went ahead and published the API that I first started to use before moving away from using the oAuth2 User-Agent flow. This should allow users to interact with mail, but it has some limitations since Bubble is handling the oAuth flow. I ended up duplicating the API and changing auth to self-handled and manually building the oAuth flow into my app.

Feel free to fork it and use as a starting point. https://bubble.io/plugin/microsoft-graph-v10-1499614465296x456520928425148400

1 Like

And you made it free! Now that is great! I’m going to dive deep into it this weekend. Hoping I can get this thing knocked off my list of needs for my first real Bubble app.

Be careful how much you read into it. There could be a lot of work ahead for you. The API connector is the easy part. :wink: