Setting Up A Keycloak Server For Authenticating To FileMaker: Part 9: Custom IdP Options In FileMaker 19.4

The Custom IdP Option

What Goes Where?

Custom IdP Name

Keycloak

Client ID

CLIENT_ID

Client Secret

CLIENT_SECRET

Authorization Code Endpoint

DOMAIN_NAME/auth/realms/YOUR_REALM/protocol/openid-connect/auth

Authorization Token Endpoint

DOMAIN_NAME/auth/realms/YOUR_REALM/protocol/openid-connect/token

Authorization Profile Endpoint

DOMAIN_NAME/auth/realms/YOUR_REALM/protocol/openid-connect/userinfo

Custom IdP Icon Endpoint

https://my.server.com/icon.jpg

Custom IdP User Account Schema

email

Custom IdP User Group Schema

groups

Scope

openid email groups

FileMaker Login Dialog

The XML File

<keys name="oAuthProviders">
<keys name="General">
<key name="AuthCodeEndpoint" type="string">DOMAIN_NAME/auth/realms/YOUR_REALM/protocol/openid-connect/auth</key>
<key name="AuthType" type="integer">2</key>
<key name="ClientID" type="string">CLIENT_ID</key>
<key name="ClientSecret" type="string">CLIENT_SECRET</key>
<key name="EncryptedClientSecret" type="integer">1</key>
<key name="Logo" type="string">https://my.server.com/icon.jpg</key>
<key name="OAuthIDName" type="string">email</key>
<key name="OIDCEnabled" type="integer">1</key>
<key name="ProfileEndpoint" type="string">DOMAIN_NAME/auth/realms/YOUR_REALM/protocol/openid-connect/userinfo</key>
<key name="Provider" type="string">Keycloak</key>
<key name="ProviderEnabled" type="integer">1</key>
<key name="ProviderID" type="integer">8</key>
<key name="ResponseType" type="string">code</key>
<key name="Scope" type="string">openid email groups</key>
<key name="TokenEndpoint" type="string">DOMAIN_NAME/auth/realms/YOUR_REALM/protocol/openid-connect/token</key>
<key name="OAuthGroupScheme" type="string">groups</key>
</keys>
</keys>

Summary

--

--

--

FileMaker Developers; Keycloak Enthusiasts; Data Magicians

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Dirty Cow Race Condition Attack

No to a Loan-Debt-Forgiveness/COVID-Relief

INFT is coming! Announcement about our NFT

Open Source Summit 2017 — a week in Pragues

Value before Velocity

The Pairing Diaries: Week 1

Celestia Validator— Quick Setup Guide

How to Check a GCP Storage File for Viruses in Ruby

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sounds Essential

Sounds Essential

FileMaker Developers; Keycloak Enthusiasts; Data Magicians

More from Medium

Keycloak 17 & FileMaker: Installation & Configuration Tutorial Part 2: Let’s Encrypt SSL…

Custom Autoscaling for GitLab Kubernetes Executors

Varnish Tutorial Part 1: HTTP Caching With Varnish

Getting Java-11 docker images to run on mac m1 (arm64) with adoptium/temurin