SSO with Mobile App / Web SPA
authgear.configure({
clientID: CLIENT_ID,
endpoint: ENDPOINT,
sessionType: "refresh_token",
isSSOEnabled: true,
});authgear.configure({
clientID: CLIENT_ID,
endpoint: ENDPOINT,
isSSOEnabled: true,
});final authgear = Authgear(
clientID: CLIENT_ID,
endpoint: ENDPOINT,
isSsoEnabled: true,
);var authgearOptions = new AuthgearOptions
{
ClientId = CLIENT_ID,
AuthgearEndpoint = ENDPOINT,
IsSsoEnabled = true,
};
// Android
#if __ANDROID__
var authgear = new AuthgearSdk(GetActivity().ApplicationContext, authgearOptions);
#else
#if __IOS__
var authgear = new AuthgearSdk(UIKit.UIApplication.SharedApplication, authgearOptions);
#endif
#endifLast updated
Was this helpful?