Artboard

Google Groups OAuth

OttoFMS can be configured to work with FileMaker OIDC to extend the Google OAuth flow by adding Google Groups to the user information. This allows you to allow access to a FileMaker file to specific groups of users rather than individual users when using the Google Authentication flow.

Every Google Group gets an email address in the form groupname@yourdomain.com. Once OttoFMS is properly configured you can use that group email as the "Group" in FileMaker's security setup.

FileMaker Security Setup

How is this different than FileMaker's built in Google OAuth?

FileMaker has built in Google OAuth support, but the built in support works with individual users and not with groups. OttoFMS extends the Google provider to pass along group information, reducing the amount of ongoing user management you need to do.

Setup

Setting up Google Groups OAuth will require configuration in the Google Cloud Console, the OttoFMS web console, the FileMaker Admin Console, and in the FileMaker files you wish to use this feature in.

Google Cloud Console

OttoFMS needs access to your Google system through a Service Account OAuth client in order to fetch the groups for a given user. This client can be restricted to only allow getting group and group membership information. This is read-only access to groups and group members. Nothing else in your google account can be accessed or updated.

OttoFMS will also require the email address for an admin user on the Google Account to get the information. If you are an Admin in your google account, your email address will work. If you aren't then you will need to ask your Google Account administrator to give you an email address that is an Admin.

Service Account Setup

OttoFMS Setup

To upload the Google OAuth settings to OttoFMS, you'll need to go to the OttoFMS config settings and upload the JSON file you downloaded earlier.

Navigate to OttoFMS Config Settings

Upload Google OAuth JSON File and Admin Email

This will save the google OAuth settings (with the Private Key encrypted) to the OttoFMS database.

FileMaker Admin Console Setup

To use the Google Groups OAuth in FileMaker, we need to set up a custom IdP in the FileMaker Admin Console.

FileMaker File Setup

Finally, to get users into your files, you'll need to set up accounts for the groups you want to provide access to in the FileMaker files.

FileMaker File Setup

On this page