An open API service indexing awesome lists of open source software.

https://github.com/fusionauth/fusionauth-example-ruby-tenant-creation

Creates and manipulates tenants using the FusionAuth ruby client library.
https://github.com/fusionauth/fusionauth-example-ruby-tenant-creation

example fusionauth login-system ruby

Last synced: 5 months ago
JSON representation

Creates and manipulates tenants using the FusionAuth ruby client library.

Awesome Lists containing this project

README

          

# FusionAuth Tenant example

This script adds a new tenant and set ups a custom theme and application for that tenant.

## To install

`bundle install`

This has been tested with ruby 2.7.

## To run

* create an API key
* edit the file and update the `NAME` and the `FA_URL`_constants.
* run the script to create a new tenant: `API_KEY=... ruby tenant-example.rb`
* or retrieve a user: `API_KEY=... ruby client-request.rb`

## More info

More in this blog post: https://fusionauth.io/blog/2020/06/30/private-labeling-with-multi-tenant