We provide Laravel Single Sign-On (SSO) with multiple IdPs, you can find some popular providers below
Not able to find your OAuth provider? Please click Here to contact us and we'll help you set it up.
1. Installing the package using Composer
Open a Command Prompt window and change the working directory to your Laravel app’s main directory.
Enter the command composer require miniorange/oauth-laravel-free
Note: If you are using Laravel 5.4 or below, you will need to add the following value to the 'providers' array in your app.php file which can be found in the project\config folder :provider\ssoServiceProvider::class
You can check your current Laravel version by using the command php artisan --version.
After successful installation of package, go to your Laravel app in the browser and enter http://<your-laravel-domain>/mo_oauth_admin in the address bar.
The package will start setting up your database for you and then redirect you to the admin registration page.
Login with credentials you registered with.
After login, you will see the OAuth provider Settings option, where you will get the Redirect/Callback URL. Keep it handy as it will be required later to configure laravel OAuth Single Sign-On SSO package.
2. Configuring the Laravel OAuth SSO package
Go to the package and Select package Settings tab from the navigation panel on the left.
You can choose an OAuth Provider from the dropdown (if your OAuth Provider is not mentioned, you can opt for Other in the list).
You need to provide the Redirect/Callback URL while configuring your OAuth Provider.
Use your OAuth Provider details like Client ID and Client Secret to configure the package.
After that, you can enter the Scope, Authorization Endpoint, Access Token Endpoint, GetUserinfo Endpoint, Realm, Domain, Tenant, (as per your OAuth Provider or use the default ones provided already).
You can send the client credentials in header or body and also send state parameter accordingly.
Click on the Save button to save your configuration.
3. Test Configuration
Once you configured all the details, You can test if the package is configured properly or not by clicking on the Test Configuration button.
If the configuration is correct, you should see a Test Successful screen with the user's attribute values.
4. SSO Options
Your users can initiate the Single Sign On flow by using <your-laravel-domain>/ssologin.php?option=oauthredirect
You can create your own Single Sign On link. Make sure it redirects you to the SSO link : Refer to the example given below :
Support and Trial/Demo Request tabs are available for customers to reach out to for demos and support.
If you don't find what you are looking for, please contact us at firstname.lastname@example.org or call us at +1 978 658 9387 to find an answer to your question about MiniOrange Laravel Oauth.
Need Help? We are right here!
Contact miniOrange Support
Thanks for your inquiry.
If you dont hear from us within 24 hours, please feel free to send a follow up email to email@example.com
This privacy statement applies to miniorange websites describing how we handle the personal
When you visit any website, it may store or retrieve the information on your browser, mostly in the
form of the cookies. This information might be about you, your preferences or your device and is
mostly used to make the site work as you expect it to. The information does not directly identify
you, but it can give you a more personalized web experience.
Click on the category headings to check how we handle the cookies.
Strictly Necessary Cookies
Necessary cookies help make a website fully usable by enabling the basic functions like site
navigation, logging in, filling forms, etc. The cookies used for the functionality do not store any
personal identifiable information. However, some parts of the website will not work properly without
These cookies only collect aggregated information about the traffic of the website including -
visitors, sources, page clicks and views, etc. This allows us to know more about our most and least
popular pages along with users' interaction on the actionable elements and hence letting us improve
the performance of our website as well as our services.