Issue with OAuth Example on Github

Hello Folks. I’m having an issue getting OAuth up and running following the Twitter Reference App.

These are the settings for my application:

When I click Install on Yext I see this error page:

Is there a more recent demo application for OAuth? There are zero examples of this process out in the wild that I can find.

I reached out to Yext Developer Support one week ago and have not heard back.

Thank you.

Hello! Can you re-share the d.pr links? They are not loading for me.

Yes, sure.

Right now I have 127.0.0.1 as the redirect URL.

This is the request body:
{'code': u'1f7642d1b8e24068b7fba7c5d08ec665', 'client_secret': '4ced6094e44073b4XXXXXXXX', 'grant_type': 'authorization_code', 'client_id': 'ffde80bXXXXXXXXX', 'redirect_uri': 'http://127.0.0.1:5000/yext_auth_callback'}

This is the error I’m getting now:

What is interesting is that the app was installing in my developer account last night, but I can’t get the access token now, nor can I re-install the app again.

This issue is mostly resolved…The app installs but then it fails on the final redirect. I was not able to get the Flask example working so I used NextAuth with Next.js. I am going to submit a Yext OAuth Provider so it is officially part of the library. I will post the link here when it is complete.

1 Like

My example with NextAuth is 100% working. I will submit the link to the development team and see if they will post it as an official example. Thanks.