One Identity. A Digital Kenya.
OneAccess
Secure, simplified access to connected government services.
OneAccess is the ICT Authority identity and access platform. People start in a connected system, sign in once through OneAccess and return directly to that system.
- Secure accessTrusted sign-in with multi-factor verification
- Connected servicesOne identity for authorised connected systems
- Standards-basedOpenID Connect and OAuth 2.0 integration
- AuditableAdministration is recorded and reviewable
Built for a stronger digital Kenya
Different users. A shared trusted platform.
OneAccess brings together the people who use connected systems, the teams who build them and the administrators who look after access.
-
Users
Sign in once to reach systems you are authorised to use, and manage your own sign-in methods and sessions in the Account Centre.
Sign in -
Application owners
Register your application, manage its credentials, redirect addresses and scopes, and request approval from ICT Authority.
Developer Portal -
Administrators
Manage users, groups, roles and policies, review access and follow the audit trail across connected applications.
Sign in -
Developers
Integrate with OpenID Connect and OAuth 2.0, using the documentation, code samples and error reference.
View API Documentation
What OneAccess provides
- Single sign-inOne OneAccess sign-in for connected applications. Each application keeps its own business permissions.
- Multi-factor authenticationAuthenticator methods and recovery codes that you manage yourself.
- Sessions and activitySee where you are signed in and end sessions you do not recognise.
- Application registrationControlled registration of applications, credentials, redirect addresses and scopes.
- Roles, groups and policiesPolicy-based authorisation, with access requests, approvals and access reviews.
- Audit and notificationsAn audit trail of security-relevant actions and notifications about them.
How it works
From sign-in to real impact.
A simple, secure process for people and for the teams who connect their services to OneAccess.
For users
- Open a connected serviceStart in the system you want to use.
- Sign in through OneAccessUse your OneAccess credentials.
- Verify when requiredComplete multi-factor verification if asked.
- Return to the serviceYou go straight back to where you started.
For application owners
- RegisterRegister your application in the Developer Portal.
- ConfigureSet redirect addresses, scopes and credentials.
- CheckUse the diagnostics to verify your configuration.
- Request approvalICT Authority reviews the request.
Trust and security
Built for a safer digital future.
OneAccess decides who a person is and how they signed in. Connected applications decide what that person may do inside them.
Secure identity
One accountable identity for each person, with credentials protected by OneAccess.
Multi-factor authentication
Additional verification for sign-in, and recent verification for sensitive changes.
Policy-based authorisation
Access decisions are made on the server, from roles, groups and policies.
Controlled applications
Applications are registered and approved, and redirect addresses must match exactly.
Session visibility
People can review their sessions and sign-in activity, and end sessions.
Audit trails
Security-relevant actions are recorded without storing passwords or tokens.
For developers
Build with OneAccess
Integrate your application using open standards. The Developer Portal documents the endpoints, flows and error codes.
- OpenID Connect and OAuth 2.0 endpoints
- Authorization Code flow with PKCE for web applications
- Client Credentials for service applications
- Code samples and an error code reference
# Request an access token for a registered service application
curl -X POST https://<oneaccess-host>/connect/token \
-d grant_type=client_credentials \
-d client_id=<your-service-client-id> \
-d client_secret="$ONEACCESS_CLIENT_SECRET" \
-d scope=<approved-scope>
// ASP.NET Core web application, OpenID Connect with PKCE
.AddOpenIdConnect("oidc", options =>
{
options.Authority = "https://<oneaccess-host>";
options.ClientId = builder.Configuration["OneAccess:ClientId"];
options.ClientSecret = builder.Configuration["OneAccess:ClientSecret"]; // secret store
options.ResponseType = "code";
options.UsePkce = true;
});
// Request an access token for a registered service application (Node.js, fetch)
const response = await fetch("https://<oneaccess-host>/connect/token", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: new URLSearchParams({
grant_type: "client_credentials",
client_id: "<your-service-client-id>",
client_secret: process.env.ONEACCESS_CLIENT_SECRET,
scope: "<approved-scope>",
}),
});
const token = await response.json();
# Request an access token for a registered service application (requests)
import os
import requests
response = requests.post(
"https://<oneaccess-host>/connect/token",
data={
"grant_type": "client_credentials",
"client_id": "<your-service-client-id>",
"client_secret": os.environ["ONEACCESS_CLIENT_SECRET"],
"scope": "<approved-scope>",
},
)
token = response.json()
// Request an access token for a registered service application (java.net.http)
String body = "grant_type=client_credentials"
+ "&client_id=<your-service-client-id>"
+ "&client_secret=" + System.getenv("ONEACCESS_CLIENT_SECRET")
+ "&scope=<approved-scope>";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://<oneaccess-host>/connect/token"))
.header("Content-Type", "application/x-www-form-urlencoded")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
// Request an access token for a registered service application (net/http)
form := url.Values{
"grant_type": {"client_credentials"},
"client_id": {"<your-service-client-id>"},
"client_secret": {os.Getenv("ONEACCESS_CLIENT_SECRET")},
"scope": {"<approved-scope>"},
}
response, err := http.PostForm("https://<oneaccess-host>/connect/token", form)
// Request an access token for a registered service application (cURL extension)
$curl = curl_init("https://<oneaccess-host>/connect/token");
curl_setopt_array($curl, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => http_build_query([
"grant_type" => "client_credentials",
"client_id" => "<your-service-client-id>",
"client_secret" => getenv("ONEACCESS_CLIENT_SECRET"),
"scope" => "<approved-scope>",
]),
]);
$response = curl_exec($curl);
Illustrative request examples with placeholders only; they are not generated SDKs. Full guides, samples and the error reference are in the Developer Portal documentation.