Skip to content

FusionAuth/fusionauth-example-ruby-tenant-creation

Repository files navigation

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

About

Creates and manipulates tenants using the FusionAuth ruby client library.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages