// disable auth checks, allows dev token usage
await client.updateAppSettings({
disable_auth_checks: true,
});
// re-enable auth checks
await client.updateAppSettings({
disable_auth_checks: false,
});
Auth Settings
Enable Development Tokens
Token validation can be disabled for development apps. This allows you to use development tokens and work on user token provisioning later on.
# disable auth checks, allows dev token usage
client.update_app_settings(disable_auth_checks=True)
# re-enable auth checks
client.update_app_settings(disable_auth_checks=False)
// disable auth checks, allows dev token usage
$update = $client->updateAppSettings([
'disable_auth_checks' => true
]);
// re-enable auth checks
$update = $client->updateAppSettings([
'disable_auth_checks' => false
]);
// disable auth checks, allows dev token usage
settings := NewAppSettings().SetDisableAuth(true)
err = client.UpdateAppSettings(settings)
if err != nil {
log.Fatalf("Err: %v", err)
}
// re-enable auth checks
err = client.UpdateAppSettings(NewAppSettings().SetDisableAuth(false))
if err != nil {
log.Fatalf("Err: %v", err)
}
// disable auth checks, allows dev token usage
await appClient.UpdateAppSettingsAsync(new AppSettingsRequest { DisableAuth = true });
// re-enable auth checks
await appClient.UpdateAppSettingsAsync(new AppSettingsRequest { DisableAuth = false });
// disable auth checks, allows dev token usage
App.update().disableAuthChecks(true).request();
// re-enable auth checks
App.update().disableAuthChecks(false).request();
// This is a server-side only feature, choose any of our server-side SDKs to use it
Disable Permission Checking
By default all apps ship with role based permission checks. During development you can decide to turn off permission checks, this way all users will act as admin users.
// disable permission checks
await client.updateAppSettings({
disable_permissions_checks: true,
});
// re-enable permission checks
await client.updateAppSettings({
disable_permissions_checks: false,
});
# disable permission checks
client.update_app_settings(disable_permissions_checks=True)
# re-enable permission checks
client.update_app_settings(disable_permissions_checks=False)
// disable permission checks
$update = $client->updateAppSettings([
'disable_permission_checks' => true
]);
// re-enable permission checks
$update = $client->updateAppSettings([
'disable_permission_checks' => false
]);
// disable permission checkse
settings := NewAppSettings().SetDisablePermissions(true)
err = client.UpdateAppSettings(settings)
if err != nil {
log.Fatalf("Err: %v", err)
}
// re-enable permission checks
err = client.UpdateAppSettings(NewAppSettings().SetDisablePermissions(false))
if err != nil {
log.Fatalf("Err: %v", err)
}
// disable permission checks
await appClient.UpdateAppSettingsAsync(new AppSettingsRequest { DisablePermissions = true });
// enable permission checks
await appClient.UpdateAppSettingsAsync(new AppSettingsRequest { DisablePermissions = false });
// disable permission checks
App.update().disablePermissionsChecks(true).request();
// enable permission checks
App.update().disablePermissionsChecks(false).request();
// This is a server-side only feature, choose any of our server-side SDKs to use it
On this page: