Skip to content

AquaO/aquao-poc-authentication-jwt-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC aquao-authentication-jwt-php-symfony

aquao-poc-symfony

This a PHP/Symfony Proof Of Concept to demonstrate how to authenticate against AquaO rest services with jwt token

How to start

Edit .env file and replace %**% with the correct values

  • HOST
  • JWT_ISSUER
  • JWT_SUBJECT
  • JWT_KEY

Prerequisites

You should have composer 2.7+ with php 8+

Install

Run composer install

Start

Run symfony server:start --port=3000

Proceed

Make a GET request at localhost:3000/api.

Authors

AquaO - support@aquao.fr

License

BSD Zero Clause License Copyright (C) 2023 by AquaO support@aquao.fr

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

About

Php/Symfony Proof Of Concept to demonstrate how to authenticate agaisnt AquaO rest services with jwt token

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages