A OpenID connect client for Laravel framework.

Related tags

Laravel laravel-oidc
Overview

Introduction

A OpenID connect client for Laravel framework.

Install

composer require package/oidc:^1.0

Configuration

php artisan vendor:publish --tag=oidc:config
return [
    'headers' => [
        'rules' => 'urn:zitadel:iam:org:project:roles',
        'id-token' => env('OIDC_ID_TOKEN_HEADER', 'X-ID-TOKEN'),
        'access-token' => env('OIDC_ACCESS_TOKEN_HEADER', 'X-ACCESS-TOKEN'),
    ],
    'introspection' => [
        'issuer' => 'https://sjmsdev.cn:443',
        'default' => env('OIDC_INTROSPECTION_METHOD', 'gateway'),
        'methods' => [
            'token' => [
                'jwk' => []
            ],
            'gateway' => [
                'header' => env('OIDC_USERINFO_HEADER', 'X-Userinfo'),
                'encode' => 'base64'
            ],
            'endpoints' => [
                'config' => env('OIDC_CONFIG_ENDPOINT', 'https://sjmsdev.cn/.well-known/openid-configuration'),
                'userinfo' => env('OIDC_USERINFO_ENDPOINT', 'https://sjmsdev.cn/oidc/v1/userinfo')
            ]
        ]
    ],
];
You might also like...
Shared code for the MaxMind Web Service PHP client APIs

Common Code for MaxMind Web Service Clients This is not intended for direct use by third parties. Rather, it is for shared code between MaxMind's vari

Generator-hedley - Scaffold a headless Drupal backend, Angular app client, and Behat tests

generator-hedley Scaffold a headless Drupal backend, Angular app client, and Behat tests Hedley is a yeoman generator that scaffolds a headless Drupal

PHP API for GeoIP2 webservice client and database reader

GeoIP2 PHP API Description This package provides an API for the GeoIP2 and GeoLite2 web services and databases. Install via Composer We recommend inst

Hashtopolis is a multi-platform client-server tool for distributing hashcat tasks to multiple computers.
Hashtopolis is a multi-platform client-server tool for distributing hashcat tasks to multiple computers.

Hashtopolis is a multi-platform client-server tool for distributing hashcat tasks to multiple computers. The main goals for Hashtopolis's development are portability, robustness, multi-user support, and multiple groups management.

Symfony bundle that provides Cross Site Request Forgery (CSRF or XSRF) protection for client-side applications

CSRF Cookie Bundle This Symfony bundle provides Cross Site Request Forgery (CSRF or XSRF) protection for client-side applications requesting endpoints

A simple pure PHP RADIUS client supporting Standard and Vendor-Specific Attributes in single file

BlockBox-Radius A simple pure PHP RADIUS client supporting Standard and Vendor-Specific Attributes in single file Author: Daren Yeh [email protected]

PHP API for GeoIP2 webservice client and database reader

GeoIP2 PHP API Description This package provides an API for the GeoIP2 and GeoLite2 web services and databases. Install via Composer We recommend inst

Framework - 🙃 Phony. Real-like Fake Data Generation Framework
Framework - 🙃 Phony. Real-like Fake Data Generation Framework

🙃 Framework This repository contains the 🙃 Phony Framework. 🙃 Start generating fake data with 🙃 Phony Framework, visit the main Phony Repository.

User to Team associations with invitation system for the Laravel 5 Framework

Teamwork This package supports Laravel 6 and above. Teamwork is the fastest and easiest method to add a User / Team association with Invites to your L

Owner
Betterde
Better Design, Better Develop, Better Details
Betterde
A Laravel Wrapper for the CoinDCX API. Now easily connect and consume the CoinDCX Public API in your Laravel apps without any hassle.

This package provides a Laravel Wrapper for the CoinDCX API and allows you to easily communicate with it. Important Note This package is in early deve

Moinuddin S. Khaja 2 Feb 16, 2022
List of 77 languages for Laravel Framework 4, 5, 6, 7 and 8, Laravel Jetstream , Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova and Laravel Spark.

Laravel Lang In this repository, you can find the lang files for the Laravel Framework 4/5/6/7/8, Laravel Jetstream , Laravel Fortify, Laravel Cashier

Laravel Lang 6.9k Jan 2, 2023
A REST client inside your Laravel app

Laravel Compass is an elegant REST assistant for the Laravel framework that you can use to test API calls and create API documentation. it provides automatically endpoints for GET, POST, PUT/PATCH, DELETE, various auth mechanisms, and other utility endpoints based on Laravel routes in your project.

David H. Sianturi 1.2k Dec 31, 2022
Dashboard to view your http client requests in laravel application

Laravel Blanket is a package with wraps laravel http client requests and provide logs for request and response, also give option to retry any request from dashboard and more...

Ahmed waleed 215 Dec 29, 2022
Websockets-Client (Sample) laravel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Filimantaptius Gulo 1 Mar 8, 2022
This is a laravel 4 package for the server and client side of datatables at http://datatables.net/

Datatable Important This package will not receive any new updates! You can still use this package, but be preparared that there is no active developme

Nils Plaschke 388 Dec 30, 2022
Minimal GraphQL client for Laravel.

Minimal GraphQL Laravel Client Minimal GraphQL client for Laravel. Requirements Composer 2+ Installation Install Package (Composer 2+) composer requir

David Gutierez Bendeck 20 Dec 7, 2022
Laravel SES Webhooks Client

Handle AWS SES webhook in Laravel php framework.

Ankur Kumar 16 Oct 26, 2022
Laravel Abdal Detector - Find info about IP , OS and web browser from your client

Laravel Abdal Detector - Find info about IP , OS and web browser from your client

 Abdal Security Group 1 Mar 24, 2022
PHP client library for reCAPTCHA, a free service to protect your website from spam and abuse.

reCAPTCHA PHP client library reCAPTCHA is a free CAPTCHA service that protects websites from spam and abuse. This is a PHP library that wraps up the s

Google 3.3k Dec 23, 2022