PHPackages                             gooby/ez-auth-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. gooby/ez-auth-client

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

gooby/ez-auth-client
====================

Client for using the gooby/ez-auth-server to enable SSO across multiple sub domains with JWTs.

v1.1.0(3y ago)01.2kMITPHPPHP &gt;=7.4

Since Aug 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/angus-mcritchie/ez-auth-client)[ Packagist](https://packagist.org/packages/gooby/ez-auth-client)[ Docs](https://github.com/angus_mcritchie/ez-auth-client)[ RSS](/packages/gooby-ez-auth-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

EZ Auth Client
==============

[](#ez-auth-client)

Used along side a EZ Auth Server to allow SSO across multiple subdomains sharing a [TLD](https://developer.mozilla.org/en-US/docs/Glossary/TLD) using [JWT](https://jwt.io/)s.

Installation
------------

[](#installation)

Use composer to manage your dependencies and download EZ Auth Client:

```
composer require gooby/ez-auth-client
```

Setup
-----

[](#setup)

We recommend adding these to your .env file, otherwise, you can pass these settings in the Auth constructor.

```
EZ_AUTH_CLIENT_SECRET="my-shared-secret-here"
EZ_AUTH_CLIENT_SERVER="https://auth.my-ez-auth-server.com"

```

Quick Start
-----------

[](#quick-start)

```
