Step 1: Save the client credentials
When you create an OIDC app, Iru generates a client ID and client secret. The secret is shown only once, so copy both into a secure place before closing the dialog. The app’s Protocol details also list the endpoints the service needs to talk to Iru:Step 2: Set redirect URIs
In the app’s draft, under the OIDC settings, add the URIs Iru is allowed to redirect to:1
Allowed sign-in redirect URIs
Where Iru returns the user after a successful sign-on. Add every URL the
service uses.
2
Allowed sign-out redirect URIs
Where Iru returns the user after sign-out.
Redirect URIs must match exactly. There is an option to allow wildcards in
redirect URIs; leave it off unless the service specifically requires it, since
exact matching is safer.
Step 3: Choose scopes
Scopes control which categories of claims the service may request. Iru offers the standard OpenID Connect scopes:Step 4: Map the subject and claims
Open the application’s mapping. The mapping has a Subject plus any additional claims.Subject
The subject is the primary identifier for the signed-in user, sent as thesub claim. For an OIDC app, the default subject is mapped from the user’s
user.id. You can change the value it draws from and associate it with a scope.
Claims
Add any extra claims the service expects in the ID token. For each one you set:- A Name: the claim name.
- A value: the profile attribute or expression it draws from.
- A scope: the scope the claim belongs to.
- Whether it is enabled.
Step 5: Rotate the client secret
The client secret can be rotated without re-creating the app, from the app’s Protocol details → Client secrets.Rotate
Rotate
Rotate issues a new client secret while the previous one keeps working for
24 hours, so you can update the service before the old secret stops. During
that window the previous secret is listed with an Expires Soon badge; a
newly issued secret is long-lived.
Invalidate
Invalidate
Invalidate ends the current secret immediately, with no grace period. Use
it if a secret may have been exposed, then update the service right away.
Iru manages the signing keys it uses to sign ID tokens and publishes them at the
discovery and keys endpoints, so services validate tokens automatically; there
is nothing to rotate by hand.
Step 6: Publish, assign, and activate
1
Set the draft as current
Publish your draft so it becomes the live configuration.
2
Assign access
Assign the groups that should have the app. See
Assigning access.
3
Activate
Make the app active so assigned users can sign in.
4
Test the sign-on
Sign in as a test user from the app dashboard to confirm the experience.
Authentication flow
An OIDC app signs users in with the authorization code flow:1
Redirect to Iru
The app sends the user to Iru to sign in.
2
Authenticate and evaluate policy
Iru authenticates the user and evaluates the app’s
authentication policy.
3
Return an authorization code
Iru redirects back to the app’s redirect URI with a short-lived
authorization code.
4
Exchange the code for tokens
The app exchanges the code at Iru’s token endpoint for an ID token (who
the user is) and an access token.
5
Read claims (and stay signed in)
The app can call the user info endpoint with the access token to read
profile claims, and (if you enabled
offline_access) use a refresh token
to stay signed in.Where to go next
Assigning access
Grant the app to users and groups.
Provisioning
Create and remove accounts in the app automatically as access changes.
Authentication policies
Decide who can sign in and what they must prove.
Applications overview
Review protocols and the draft-to-current version model.