GetProviderInfo queries your FileMaker Server to get a list of the configured OAuth providers so that you can render the proper buttons on your page for each one. The JavaScript code has three functions: Three functions in the FileMaker WebDirect OAuth script It’s named the FileMaker WebDirect OAuth Script. WebDirect launch center The Solution: the FileMaker WebDirect OAuth ScriptĬlaris has released a JavaScript utility that has all the necessary code to start the OAuth login process from your own website. And you will want to use the home URL functionality so that the user goes back to where you want them instead of back to the WebDirect launch center, which would completely confuse your users. Your users must still click the provider’s button ( Keycloak in the screenshots), which is an unnecessary extra step: they have already clicked the button on your own website. These login pages do not fit into the visual flow or branding of your own website. FileMaker 19.5 WebDirect without a home URL FileMaker 19.5 WebDirect with a home URLīut it is not ideal. This makes the experience a little less confusing for your users. In 19.5, you can make WebDirect hide the FileMaker login fields and just show the OAuth option for which your server is configured. With a home URL, the file’s login screen is generated from a completely different place and is not at all customizable: Login with a home URL Without a home URL, the file’s login screen looks like this, with very few customization options. The home URL is where the user will be taken back to when they log out of the WebDirect session. That will take the user directly to the file’s login page, which comes in two variants depending if you use a home URL or not. The only way you can avoid taking the user to the WebDirect launch center is to create a URL that includes the file name. If you are using FileMaker accounts and want to use this, check out this GitHub project to speed up your development of a customized login experience. It’s a somewhat unknown feature of WebDirect that allows you to sign in through a POST request. If you are not using an OAuth identity provider but use only internal FileMaker accounts, you can already do this seamlessly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |