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.
- Host: GitHub
- URL: https://github.com/fusionauth/fusionauth-example-ruby-tenant-creation
- Owner: FusionAuth
- License: apache-2.0
- Created: 2020-06-08T19:03:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T05:55:45.000Z (over 1 year ago)
- Last Synced: 2025-07-18T09:07:46.180Z (7 months ago)
- Topics: example, fusionauth, login-system, ruby
- Language: Ruby
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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