# Getting Error on OAUTH with Amazon

**URL:** https://the.fmsoup.org/t/getting-error-on-oauth-with-amazon/2259
**Category:** Questions
**Tags:** community
**Created:** [June 26, 2021, 6:00pm UTC](https://the.fmsoup.org/t/getting-error-on-oauth-with-amazon/2259 "2021-06-26T18:00:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![OliverBarrett](https://avatars.discourse-cdn.com/v4/letter/o/f19dbf/32.png) [@OliverBarrett](https://the.fmsoup.org/u/OliverBarrett)
#### Post date: [June 26, 2021, 6:00pm UTC](https://the.fmsoup.org/t/getting-error-on-oauth-with-amazon/2259/1 "2021-06-26T18:00:59Z")

</div>

Hi all,

I tried to set up OAUTH in FMS 19.3.1 today but was unable to get it to work.

Here is what I did:

1. **FMS** Went under Administration, clicked "External Authentication", then "Amazon" and "change".

Entered the two credential strings you see when creating a new security profile in your Amazon developer area.

At the bottom of his page, under "Database Sign In", I enabled "External Server Accounts" and "Amazon".

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/d/daedf878bbe702e8d0641c7b9a00ffb4d5695cbe.png)

1. **In Amazon Developer website** , under Web Settings, I entered the "Allowed Return URLs" to:

https://_FQDN_/oauth/redirect

(The FQDN matches the private SSL certificate for the site.)

1. **In FileMaker 19.3.1** , I created a new user:

Type: External Server  
Group Name: email address for the amazon account  
Access: Full Access

* * *

Then, when trying to start the FileMaker application to access Amazon, I get a "bad request".

The FileMaker application does come up with an "Amazon" button, but clicking it gives the 400 HTTP error.

The URL https:///oauth/redirect is shown, but I have no idea how that could be the problem.

Any ideas what is wrong?

Thanks very much.

Oliver

---

<div class="post-metadata">

### Author: ![Cecile](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/cecile/32/98_2.png) [@Cecile](https://the.fmsoup.org/u/Cecile)
#### Post date: [June 27, 2021, 5:25pm UTC](https://the.fmsoup.org/t/getting-error-on-oauth-with-amazon/2259/2 "2021-06-27T17:25:33Z")

</div>

It is an “Amazin” error then 😝  
Hope someone can help!

---

<div class="post-metadata">

### Author: ![OliverBarrett](https://avatars.discourse-cdn.com/v4/letter/o/f19dbf/32.png) [@OliverBarrett](https://the.fmsoup.org/u/OliverBarrett)
#### Post date: [June 27, 2021, 7:02pm UTC](https://the.fmsoup.org/t/getting-error-on-oauth-with-amazon/2259/3 "2021-06-27T19:02:07Z")

</div>

Thanks Cecile.  
I got it working by re-creating the security profile. Not sure what was wrong since I just re-created what I had, but it's working now.  
Thanks for the humor. 🙂
