Oauth module for freescout helpdesk
Find a file
2022-06-29 17:15:10 +02:00
Config initial commit 2021-09-21 18:51:48 +03:00
Console initial commit 2021-09-21 18:51:48 +03:00
Database initial commit 2021-09-21 18:51:48 +03:00
Entities initial commit 2021-09-21 18:51:48 +03:00
Http add curl options 2022-06-29 17:15:10 +02:00
Providers initial commit 2021-09-21 18:51:48 +03:00
Public initial commit 2021-09-21 18:51:48 +03:00
Resources initial commit 2021-09-21 18:51:48 +03:00
Tests initial commit 2021-09-21 18:51:48 +03:00
composer.json initial commit 2021-09-21 18:51:48 +03:00
module.json initial commit 2021-09-21 18:51:48 +03:00
README.md Adding Azure Active Directory specific setup 2021-12-09 10:12:53 +01:00
start.php initial commit 2021-09-21 18:51:48 +03:00

OAuth FreeScout

This module is intended to provide oauth authentication to freescout.

Module was tested on keycloak oauth provider with confidential openid-connect client.

Module is require php curl extension on server.

Currently module fully replace login form with redirection to oauth provider login form. If you need to perform ordinary login with basic form, add disable_oauth get parameter to login path (/login?disable_oauth=1)

User must be registered before oauth login.

Installation

  • place module source to Modules folder of your FreeScout installation, module must have OAuth folder name to work propperly. If you are clonning repo with git, just add folder name in the end of git clone command.
  • enable module in modules admin panel
  • configure module on settings page (client id/secret/etc)

Provider Specific

Azure Active Directory (AAD)

Register an App Registration in Azure Active Directory with scopes openid, email and profile.

Setting Value
Client ID <App Registration Client ID>
Client Secret <App Registration Client secret>
Authorization Endpoint URL https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/authorize?scope=email+profile+openid
Token Endpoint URL https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token
User Info Endpoint URL https://graph.microsoft.com/oidc/userinfo