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

what i have been waiting for has come !

Deployment to AKS using Azure devops pipeline and Helm(part2)

CoinEx Institute | STEPN: A great example of gamification Web 3.0 application

How to create your 24/7 YouTube online radio

Department of Things you don’t have a clue — How to do Code Review and work with coders

[ANNOUNCEMENT] The Parallel will launch MEGA AIRDROP on December 1, 2021

A Thorough Introduction to the Data Collections in Python: Python Complete Course — Part 20

A dummy image for better reading and navigation.

Redesigning the Course Website in One Week: Day 4–5

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

Create your own docker private registry without GUI simplest way

Using TwitchLib to Create a Twitch Chat Bot — Part 2

File encryption using OpenSSL

Prototype Pollution HIGH vulnerability in ‘mixme’ NPM package