-
-
Notifications
You must be signed in to change notification settings - Fork 10
-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.MD with information regarding Cloud Support #217
Comments
@heebinho could you provide a sample of how to use the new Auth library as a comment here? I'd like to include a new section in the readme file. |
FileMaker CloudSetupFirst of all you'll have to activate the FileMaker Data API in the FileMaker Cloud Admin Console. When you're already there, note the URL of your Host. Most likely it will look something like https://{NAME}.account.filemaker-cloud.com. To access any given database via the Rest API, you'll have to grant special rights to a "Privilege Set" and assign the set to a user or group. Open the database in FileMaker Pro and choose Manage Security from the File menu. On top of the dialog you'll find a dropdown named "Authenticate via" - select the option Claris ID. Navigate to the advanced settings. In the register "Extended Privileges", you'll find an entry fmrest ("Access via FileMaker Data API"). Add this special right to a "Privilege Set". Assign the set to the user or group. Instantiate the clientWe can use the FileMakerRestClient, when the setup is done.
Then instantiate the FileMakerRestClient with a FileMakerCloudAuthTokenProvider as follows:
From here you can use the client according to the given samples in the readme.
NoteAWS Cognito is used as Identity provider. You can find more information here.
|
Thank you @heebinho, this is fantastic! |
Follow-up docs for #213.
The text was updated successfully, but these errors were encountered: