Open Id Connect Api

Overview

flux-open-id-connect-api

Open Id Connect Api

Installation

Native

Download

RUN (mkdir -p /%path%/libs/flux-open-id-connect-api && cd /%path%/libs/flux-open-id-connect-api && wget -O - https://github.com/fluxfw/flux-open-id-connect-api/releases/download/%tag%/flux-open-id-connect-api-%tag%-build.tar.gz | tar -xz --strip-components=1)

or

Download https://github.com/fluxfw/flux-open-id-connect-api/releases/download/%tag%/flux-open-id-connect-api-%tag%-build.tar.gz and extract it to /%path%/libs/flux-open-id-connect-api

Load

require_once __DIR__ . "/%path%/libs/flux-open-id-connect-api/autoload.php";

Composer

{
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "flux/flux-open-id-connect-api",
                "version": "%tag%",
                "dist": {
                    "url": "https://github.com/fluxfw/flux-open-id-connect-api/releases/download/%tag%/flux-open-id-connect-api-%tag%-build.tar.gz",
                    "type": "tar"
                },
                "autoload": {
                    "files": [
                        "autoload.php"
                    ]
                }
            }
        }
    ],
    "require": {
        "flux/flux-open-id-connect-api": "*"
    }
}

Environment variables

Variable Description Default value
FLUX_OPEN_ID_CONNECT_API_PROVIDER_URl OpenIdConnect server url -
FLUX_OPEN_ID_CONNECT_API_PROVIDER_CLIENT_ID OpenIdConnect client id
Use FLUX_OPEN_ID_CONNECT_API_PROVIDER_CLIENT_ID_FILE for docker secrets
-
FLUX_OPEN_ID_CONNECT_API_PROVIDER_CLIENT_SECRET OpenIdConnect client secret
Use FLUX_OPEN_ID_CONNECT_API_PROVIDER_CLIENT_SECRET_FILE for docker secrets
-
FLUX_OPEN_ID_CONNECT_API_PROVIDER_REDIRECT_URI OpenIdConnect redirect uri
Like https://%host%/callback
-
FLUX_OPEN_ID_CONNECT_API_PROVIDER_SCOPE OpenIdConnect server scopes openid profile email
FLUX_OPEN_ID_CONNECT_API_PROVIDER_SUPPORTS_PKCE Whether OpenIdConnect server supports proof key for code exchange
Recommended to use this for additional security
true
FLUX_OPEN_ID_CONNECT_API_PROVIDER_TRUST_SELF_SIGNED_CERTIFICATE If you use a self signed certificate, you need to trust it manually false
FLUX_OPEN_ID_CONNECT_API_SESSION_CRYPT_SECRET Secret for encrypt the cookie
Should be a generated random value
Use FLUX_OPEN_ID_CONNECT_API_SESSION_CRYPT_SECRET_FILE for docker secrets
-
FLUX_OPEN_ID_CONNECT_API_SESSION_CRYPT_METHOD Algorithm method aes-256-cbc
FLUX_OPEN_ID_CONNECT_API_SESSION_CRYPT_PLAIN Bypass encrypt cookie for dev environment false
FLUX_OPEN_ID_CONNECT_API_ROUTE_AFTER_LOGIN_URL Url to redirect after login /
FLUX_OPEN_ID_CONNECT_API_ROUTE_AFTER_LOGOUT_URL Url to redirect after logout /

Minimal variables required to set are bold

Example

Look at flux-open-id-connect-rest-api

You might also like...
The most popular PHP library for use with the Twitter OAuth REST API.
The most popular PHP library for use with the Twitter OAuth REST API.

TwitterOAuth The most popular PHP library for Twitter's OAuth REST API. See documentation at https://twitteroauth.com. PHP versions listed as "active

API stubs for developing a plugin that provides a 2FA authentication factor in JobRouter®.

Authentication Factor API JobRouter® is a scalable digitisation platform which links processes, data and documents. Starting with JobRouter® 5.2, a se

This repository includes a sample project to illustrate the usage of the JobRouter® Authentication Factor API.

JR 2FA Example Plugin This repository includes a sample project to illustrate the usage of the JobRouter® Authentication Factor API. It can be used as

Un proyecto que crea una API de usuarios para registro, login y luego acceder a su información mediante autenticación con JSON Web Token

JSON WEB TOKEN CON LARAVEL 8 Prueba de autenticación de usuarios con una API creada en Laravel 8 Simple, fast routing engine. License The Laravel fram

Authentication REST-API built with Lumen PHP Framework

Authentication REST-API built with Lumen PHP Framework Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expre

Laravel passport authentication API endpoints

Basic sample code for Laravel/Passport to authenticate users via API

GoSign OneSign PHP API client

OneSign PHP API Client Reikalavimai PHP 7.4+ arba 8.0+ Patariam Nginx php-fpm Funkcijos PDF dokumentų pasirašymas; laiko žymų uždėjimas ant PDF dokume

Twitter OAuth API for PHP 5.3+

README The Wid'op OAuth library is a modern PHP 5.3+ API allowing you to easily obtain a Twitter access token. For now, it supports OAuth Web & Applic

Rest API - JWT - Symfony5

Symfony5 JWT - REST API Example Symfony5 JWT - REST API Example Built With PHP Symfony 5 PostgreSQL Getting Started This is an example of how you may

Releases(v2022-12-12-1)
Owner
null
PHP OpenID Connect Basic Client

PHP OpenID Connect Basic Client A simple library that allows an application to authenticate a user through the basic OpenID Connect flow. This library

Michael Jett 469 Dec 23, 2022
This library extends the 'League OAuth2 Client' library to provide OpenID Connect Discovery support for supporting providers that expose a .well-known configuration endpoint.

OpenID Connect Discovery support for League - OAuth 2.0 Client This library extends the League OAuth2 Client library to provide OpenID Connect Discove

null 3 Jan 8, 2022
Open source social sign on PHP Library. HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers such as Facebook, Twitter and Google.

Hybridauth 3.7.1 Hybridauth enables developers to easily build social applications and tools to engage websites visitors and customers on a social lev

hybridauth 3.3k Dec 23, 2022
KeyAuth is an open source authentication system with cloud-hosted subscriptions available aswell

KeyAuth is an open source authentication system with cloud-hosted subscriptions available aswell

null 158 Dec 23, 2022
Kaiju is an open source verification bot based on Discord's OAuth written in C# and PHP, with the functionality of being able to integrate the user to a new server in case yours is suspended.

What is Kaiju? Kaiju is an open source verification bot for Discord servers, based on OAuth and with permission for the server owner, to be able to mi

in the space 10 Nov 20, 2022
A free and open-source Automatic Account Creator (AAC) written in PHP

MyAAC MyAAC é um Automatic Account Creator (AAC) gratuito e de código aberto escrito em PHP. É uma bifurcação do projeto Gesior. Ele suporta apenas ba

Lucas Giovanni 6 Aug 26, 2022
Rinvex Authy is a simple wrapper for @Authy TOTP API, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest API for developers and a strong authentication platform for the enterprise.

Rinvex Authy Rinvex Authy is a simple wrapper for Authy TOTP API, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest AP

Rinvex 34 Feb 14, 2022
The first PHP Library to support OAuth for Twitter's REST API.

THIS IS AN MODIFIED VERSION OF ABRAHAMS TWITTER OAUTH CLASS The directories are structured and the class uses PHP5.3 namespaces. Api.php has a new

Ruud Kamphuis 51 Feb 11, 2021
A simple twitter SDK to interact with Twitter api (1.1)

Twitter SDK Installation composer require lyrixx/twitter-sdk Usage Create a twitter application then <?php require __DIR__.'/vendor/autoload.php';

Grégoire Pineau 37 Aug 28, 2020
Minimalistic token-based authorization for Laravel API endpoints.

Bearer Minimalistic token-based authorization for Laravel API endpoints. Installation You can install the package via Composer: composer require ryang

Ryan Chandler 74 Jun 17, 2022