react-apple-login
react-apple-login copied to clipboard
usePopup doesnt work
When trying to use usePopup={true}, error Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'..... occurs, which results in not working login.
My component:
<AppleLogin
clientId={APPLE_CLIENT_ID}
redirectURI={`${URL}`}
scope={'name email'}
responseMode={'form_post'}
usePopup={true}
render={(renderProps) => (
<Button
...
/>
)}
/>
Any known course of actions to fix this?
@avokrado , Can you share a screenshot what exactly error is? Because error you shows is not related to library, there are security configuration you should have in nginx where you have to allow to execute library JS.