Skip to content

NetBox-Platform/sso

Repository files navigation

NetboxSSO (Single sign-on by Netbox)

"Single sign-on SDK for using in third party apps, which provides login their users with Netbox"

The Single Sign-On (SSO) SDK is a software development kit designed by Netbox team for third-party applications. It enables these apps to implement a seamless authentication experience for their users using 'netbox'. With this SDK, developers can integrate a secure and efficient login process, allowing users to access multiple applications without the need to repeatedly log in. This enhances user convenience and streamlines the authentication process across diverse third-party applications through the use of 'netbox' as the authentication provider. In essence, our SDK allows users to either create a fully customized login button or utilize our pre-defined LoginButton with additional customization options, such as changing the text font and size, providing flexibility in adapting the authentication experience to their application's unique design.

NOTE: If you want to use the Netbox SSO in your apps you should be on our whitelist! So we will be pleased to contact us and start our cooperation

Pre-defined LoginButtons:

LoginButtons

Dependency

Step 1. Add jitpack repository

Legacy:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

New gradle:

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
			...
   			mavenCentral()
			maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.NetBox-Platform:sso:0.0.6'
}

How to use

Full examples are available in the links below:

Sample1 (Using registerForActivityResult)

Sample2 (Using startActivityForResult)

About

Single sign-on SDK for using in third party apps, which provides login their users with Netbox

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages