LoginRadius CLI

Beta

Manage your LoginRadius Admin Console without leaving the terminal

$ brew tap loginradius/tap
$ brew install lr
Or
Download for Windows
View installation instructions

LoginRadius CLI

Manage your LoginRadius Admin Console without leaving the terminal
$ lr login

Successfully Authenticated, 
Fetching Your Site(s)...
? Current Site is: dev-product-1,
Want to Switch? Yes
? Select the site from the list: dev-product-2
Site has been updated.
Successfully Logged In
Use this command to log in to your LoginRadius account. The authentication process uses a web-based browser flow.
$ lr get config

API Key: <Your LoginRadius apikey>
API Secret: <Your LoginRadius Secret>

$ lr reset-secret 
API Secret reset successfully
To get your LoginRadius API credentials or reset the API Secret, you can use the following commands.
$ lr get domain

1. http://localhost
2. http://127.0.0.1
3. loginradius.com

$ lr add domain -d google.com 
google.com is now whitelisted.
For the management of your whitelisted domain, you can use the following commands.
$ lr add social

? Select the provider from the list: Google
Please enter the provider key:
********
Please enter the provider secret:
********
Social Provider added successfully
You can configure the different login methods for your LoginRadius Admin Console using the following commands.
$ lr set theme -t London

? Previous changes will be lost.
Do you wish to continue? Yes
Reseting current theme...
Fetching Auth theme url...
Updating CSS based on new theme...
Fetching data...
Updating to new theme...
Your theme has been changed
You can update the LoginRadius IDX Page theme from the predefined themes available through LoginRadius CLI.

Further Documentation

Find out the documentation for all the commands supported in LoginRadius CLI.
Our Docs