It's Like Auth0,
But Without the Subscription
Take control of your identity and access management with Authgear once — a self-hosted IAM platform you own forever. No subscriptions, no surprises.
1import authgear from "@authgear/web";
2
3const login = async () => {
4 await authgear.startAuthentication({
5 redirectURI: "https://www.myapps.com/auth-redirect"
6 })
7}
1import authgear from "@authgear/web";
2
3const login = async () => {
4 await authgear.startAuthentication({
5 redirectURI: "https://www.myapps.com/auth-redirect"
6 })
7}
1import authgear from "@authgear/web";
2
3startLogin(): void {
4 authgear.startAuthentication({
5 redirectURI: 'http://localhost:4000/auth-redirect'
6 })
7 }
1import authgear from "@authgear/react-native";
2
3const authenticate = useCallback(async () => {
4 try {
5 authgear.authenticate({
6 redirectURI: 'com.authgear.example.rn://host/path',
7 });
8 } catch (error) {
9 // Login failed
10 }
11}, []);
1import 'package:flutter_authgear/flutter_authgear.dart';
2
3late Authgear _authgear;
4UserInfo? _userInfo;
5
6Future<void> _onPressedAuthenticate() async {
7 try {
8 final userInfo = await _authgear.authenticate(redirectURI: "com.example.authgeardemo.flutter://host/path");
9 setState(() {
10 _userInfo = userInfo;
11 });
12 } catch (e) {
13 // Login failed
14 } finally {
15 // Finally
16 }
17}
1authgear.authenticate(redirectURI: "com.example.authgear://host/path", handler: { result in
2 switch result {
3 case let .success(userInfo):
4 // login successfully
5 loginState = authgear.sessionState
6 userId = userInfo.sub
7 case let .failure(error):
8 if let authgearError = error as? AuthgearError, case .cancel = authgearError {
9 // user cancel
10 } else {
11 // Something went wrong
12 }
13 }
14 })
15}
1fun startLogin() {
2 val options = AuthenticateOptions("com.example.authgear://host/path")
3 authgear.authenticate(options, object : OnAuthenticateListener {
4 override fun onAuthenticated(userInfo: UserInfo) {
5 // Login successfully
6 }
7 override fun onAuthenticationFailed(throwable: Throwable) {
8 // Login failed
9 }
10 })
11}
Yes! You can explore Authgear using the Free Tier of Authgear Cloud. While it includes limitations on application and project member counts and retains Authgear branding, all core features are available for testing.
2 years of continuous updates are included. It can be easily updated by a command, Authgear once will ping our server to see if there is any updates and you can decide when to download and install them.
Discord support are provided. We are also happy to help with the basics over email: once@authgear.com
We offer an Import API for you to import users from an existing authentication system to Authgear once. You can easily migrate from Auth0, Okta, PingIdentity. See our docs for more information.
With our comprehensive SDKs and documentation, most developers can implement Authgear once in under 10 minutes.
With full data ownership through self-hosting, you maintain complete control over where and how customer identity data is stored, processed, and protected, making GDPR compliance straightforward.
Authgear understands the importance of data privacy, especially in today's digital landscape. In line with our Privacy Policy, we take your privacy seriously and are committed to being transparent about how we collect your information.
By clicking "Accept," you consent to the use of all cookies on our site. However, you have the right to choose which types of cookies you allow. Simply click on "Manage Settings" to customize your preferences.
Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website.