Forem allows you to authenticate using Sign in with Apple. In order to use this authentication method you'll need to be enrolled to the Apple Developer Program in order to retrieve the necessary credentials and an HTTPS supported URL for the callback configuration (HTTP won't work). Then you'll need to provide the keys to the Rails application.
Register/Sign in to your Apple Developer Account.
Now with both the Service ID and Key you'll need to enable Apple Authentication and pass in the credentials in the admin dashboard /admin/customization/config
.
Add the corresponding configuration data. Make sure the PEM key you downloaded has explicit linebreaks (\n
), don't forget the one at the very end of it.
Save the changes and restart your server for these values to take effect.
Apple uses what they call Private Email Relay Service to hide user's emails. For this to work first create a new email source.
Emails sent need to be authenticated and the configuration depends on the different providers available: