Skip to content

Soapbox/SoapBox-Auth

Repository files navigation

SoapBox-Auth

Description

This Auth Service was designed to help with managing auth across all SoapBox services. In particular, it allowed for login and logout through JWT and using REDIS as a datastore (speed reasons).
View the functional designs below:

Dependencies

  • Redis
  • OAUTH PROVIDERS (Clients and secrets)
    • Google
    • Slack
    • Microsoft ...

Setup instructions

  • create .env file (copy .env.example. It already has working values for the variables you need to change).
    Be careful to put in correct values for all providers.
    Here are a few pitfalls for some of the env variables

    • URLs:
      • http is different from https
      • http://url.com is different from http://url.com/
    • The client, secret and redirect url (used when using legacy auth) must match whatever values used on the frontend
    • Redis:
      • Same credentials (REDIS_HOST, REDIS_PORT and REDIS_DATABASE) as API-Gateway
  • Run composer install

How to use legacy auth:

To use the GoodTalk-API for authentication, simply add a parameter soapbox-slug to your request.

FAQs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published