'How can I get an Apple login callback request with post method from s3?
I use React and AWS s3, cloudfront
Login.tsx
AppleID.auth.init({
clientId: ...,
scope: 'email',
redirectURI: 'https://myreactapp/oauth/apple',
});
...
<div
id="appleid-signin"
data-color="black"
data-border="true"
data-type="sign in"
/>
Because I request 'email' scope, Apple callback requests post method, but I cannot receive post method even if I modify policy in s3 and cloudfront.
// https://myreactapp/oauth/apple
405 Method Not Allowed
Code: MethodNotAllowed
Message: The specified method is not allowed against this resource.
Method: POST
ResourceType: OBJECT
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
