Download the PHP package fgtclb/typo3-oauth2-server without Composer

On this page you can find all versions of the php package fgtclb/typo3-oauth2-server. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package typo3-oauth2-server

TYPO3 Extension OAuth2 Server

URL
Repository: https://github.com/fgtclb/typo3-oauth2-server
TER: -

Description

This package implements OAuth2 for TYPO3 to enable 3rd party services to authenticate users using frontend users in TYPO3.

Compatibility

Branch Version TYPO3 PHP
main 2.0.x-dev ~v11, ~v12 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 (depending on TYPO3)
1 1.0.x-dev ~v9 7.2, 7.3, 7.4

Installation

This package can be installed via Composer:

For a fully working setup a RSA keypair needs to be generated and set in the extension configuration:

This keypair must be stored safely which means outside of the TYPO3 web directory and should be readonly.

[!IMPORTANT] 2.x.x is still in development and not all academics extension are fully tested in v12 and v13, but can be installed in composer instances to use/test them. Testing and reporting are welcome.

Testing 2.x.x extension version in projects (composer mode)

It is already possible to use and test the 2.x version in composer based instances, which is encouraged and feedback of issues not detected by us (or pull-requests).

Your project should configure minimum-stabilty: dev and prefer-stable to allow requiring each extension but still use stable versions over development versions:

and installed with:

Configuration

Extension settings

  1. Set the paths to your private and public key files.
  2. Set the page id where your login form is located. The middleware will redirect users to this page.

OAuth2 Client access

To register clients in the OAuth2 server you need to create OAuth2 Client records on the root page accordingly. Here you can set the identifier and secret as well as redirect URLs to be used in your client code.

Endpoints

After installation the following endpoints are available and should be set in the 3rd party services:

  1. /oauth/authorize: endpoint for authorization code requests
  2. /oauth/token: endpoint for access token requests using a authorization code
  3. /oauth/identity: endpoint for retrieving a username using an access token

Currently only the authorization code grant is available.

Credits

This extension was created by FGTCLB GmbH.

Find more TYPO3 extensions we have developed.


All versions of typo3-oauth2-server with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3
league/oauth2-server Version ^8.4
psr/http-server-middleware Version ^1.0
typo3/cms-core Version ^11.5 || ^12.4
typo3/cms-frontend Version ^11.5 || ^12.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fgtclb/typo3-oauth2-server contains the following files

Loading the files please wait ....