In Identety, clients represent applications or services that can request tokens and access protected resources on behalf of users. Clients are a fundamental concept in the OAuth 2.0 and OpenID Connect (OIDC) protocols, which Identety implements.
id
: Unique identifier for the client (auto-generated)name
: Human-readable name of the client applicationtype
: Type of the client (public, private, or m2m)clientId
: Public identifier for the clientclientSecret
: Secret used for authentication (private and m2m clients only)redirectUris
: Allowed redirect URIs for the clientscopes
: Scopes that the client is allowed to requestaccessTokenLifetime
: Lifetime of access tokens issued to the clientrefreshTokenLifetime
: Lifetime of refresh tokens issued to the clientclientId
only.
clientSecret
. Private clients are authenticated using both clientId
and clientSecret
.
clientId
and clientSecret
.
scopes
they need, which represent permissions to access specific resources. This allows for fine-grained access control.