monicahq / client_example

A basic Laravel app showing how to use the Oauth authorization for Monica's API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is an example project that simulate the authentication part of Monica's api, based on Oauth.

To setup the project:

  • composer install
  • Enter the client ID and the secret in the .env file. You can get these values when you register a new application in your Monica's account.
  • Make sure you have a valid Monica instance that runs locally.

Then, point to http://client.app/redirect to start the Oauth process.

About

A basic Laravel app showing how to use the Oauth authorization for Monica's API


Languages

Language:PHP 95.7%Language:HTML 3.6%Language:Vue 0.7%