Paul AKA TDI
03/09/2022, 4:49 AMScott P
03/09/2022, 4:59 AMid
doesn't match the id
property of a row? They can't see the row.
The service role key should never ever be placed in a public location. Treat is as though it's the key to the kingdom. This key allows you to bypass row-level security. It's used primarily for server-side control. Use cases include API's and database automation.
When logging in via third-party (e.g. Twitter), you have to define where the user will be returned to after completing the auth process. If the redirect URL isn't in the allow list you specify, then the user will just be redirected back to one of the URL's that are in the allow list.
For example, if someone was to try and direct a user to bad-domain[dot]com, and you only allow users to be redirected to good-domain[dot]com, then the end-user will only be redirected to good-domain[dot]com, meaning that the owner of the bad domain will never receive the details provided by the third party auth provider (e.g. twitter).Scott P
03/09/2022, 5:00 AMPaul AKA TDI
03/09/2022, 8:23 AM