A role is a named group of OAuth identities. You use roles to authorise who can reach an app and who can use a token. Instead of granting access to individuals one by one, you put people into a role and grant the role.
A role collects the OAuth identities (the logins) of the people who should have a particular level of access. When someone signs in, OINO.cloud looks at which roles their identity belongs to and lets them through wherever those roles are required.
Roles are the link between who a user is and what they may touch:
You can restrict a role down to specific individuals by email address, so a role can be as broad as a whole team or as narrow as a single person.
Tokens start out public — they have no roles, so anyone with the URL can use them. The moment you attach a role to a token, it becomes protected: users must sign in and be in that role to use it. This one distinction is what makes a page public or private and what puts a login in front of an app.
If SSO is enabled for your organisation, roles can additionally come from your identity provider (IdP). Group memberships defined in the IdP are mapped into OINO.cloud roles, so access follows your existing directory automatically — on top of any identities you assign to a role by hand.
editors or finance).Tip: keep roles small and purpose-built — one per level of access — rather than reusing a broad role everywhere. This mirrors the token guidance in the Security guide and keeps access easy to reason about.