GithubHelp home page GithubHelp logo

frudens / fmoauth Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 3.0 174 KB

fmOAuth is a solution for accessing APIs such as Google and Microsoft from FileMaker, and it consists only of scripts.

Home Page: https://frudens.com

License: Apache License 2.0

HTML 68.79% CSS 31.21%
filemaker api google oauth2

fmoauth's Introduction

fmOAuth

Join the chat at https://gitter.im/frudens-com/fmoauth

fmOAuth is a solution for accessing APIs such as Google and Microsoft from FileMaker, and it consists only of scripts.

NOTE: I think that it is better to implement it as "2-legged OAuth" or "2LO" than to call the API from FileMaker client.

Using OAuth 2.0 for Server to Server Applications

Announcements

I have created a simple file to run the main methods of Google's APIs (Gmail, Google Drive, Google Calendar). Check it out if you like!

https://github.com/frudens/filemaker-google-api

Usage

Google Cloud Platform

  • Log in to GCP with Gsuite's Google Account.
  • Create a Project and set the OAuth consent screen.
  • Create OAuth 2.0 client ID.
  • Client ID, Client secret in FileMaker.

FileMaker(fmOAuth.fmp12)

  • Open fmOAuth.fmp12.
  • Click the RELOGIN button.
  • Re-login ( account:admin | password:admin )
  • Open the Script Workspace.
  • Open the script ( 0498.Get myApp ( kind ) ) and enter Client ID, Client secret, scope etc.

FileMaker(mysolution.fmp12)

  • Open mysolution.fmp12 .
  • Open the Script Workspace.
  • Run the script 0013.get refreshToken and Gmail getProfile

Demo

  • This video is a demo that calls getProfile of Gmail API.

demo

Q&A

Q: How do you open a script workspace?

  • Open fmoauth.fmp12
  • Re-login ( account:admin | password:admin )
  • Select Menu Bar -> Tools -> Custom Menus -> [Standard FileMaker Menus]
  • Select Scripts -> Script Workspace
  • Video here https://www.youtube.com/watch?v=rXM2wQBEl7c

Release History

v0.0.4

Bug Fixes:

  • Fixed the script.
  • Deleted unnecessary layouts, scripts and custom functions.

v0.0.3

Bug Fixes:

  • Update the Google Client ID of fmOAuth set in fmoauth.fmp12
  • Fix UI of fmoauth.fmp12

Author

frudens Inc. https://frudens.com

License

This software is distributed under the Apache License, Version 2.0, see LICENSE.txt for more information.

fmoauth's People

Contributors

frudens avatar teruhirokomaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fmoauth's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.