IDaaS greatly simplifies configuration items for enterprise self-developed applications to enable single sign-on (SSO).
IDaaS-side configuration
On the IDaaS side, add the address at which your application handles SSO requests to Logon Redirect URIs. Leave the other options at their default values to complete the basic configuration.
| Field | Description | Example |
Basic configuration (required) | Logon Redirect URI | The allowlist of redirect URIs. When the application requests logon, it includes the | http://www.xxxx/oidc/sso http://www.xxxx/oidc/sso2 |
Authorization scope | For more information, see Common single sign-on instructions. | Select: Accessible to all users | |
Advanced configuration (optional) | User information scopes | The UserInfo endpoint provides information about the logged-on user after the user logs on.
| Multi-select: openid Multi-select: email Multi-select: profile |
access_token validity period |
| 20 minutes | |
id_token validity period |
| 10 hours | |
refresh_token validity period | Used to obtain a new | 30 days | |
Extended id_token fields | Extend the payload fields in | - | |
SSO initiator | The OIDC protocol natively supports application-initiated SSO. If you select | Support portal-initiated and application-initiated | |
Logon initiation address | The application address that IDaaS accesses when it initiates an SSO request. After this address receives the request, it must immediately initiate an /authorize request to the authorization endpoint. | http://www.xxxx/oidc/login | |
id_token signature algorithm |
| SHA256 | |
Logoff callback address | The allowlist of application addresses that IDaaS calls back after the user logs off. The application can include one of these addresses when it initiates an SLO request. | http://www.xxxx.com |
Application-side configuration
The OpenID Connect (OIDC) protocol allows the application side to complete the full logon authentication flow by using a series of standard API operations exposed by IDaaS.
The following table describes the exposed API operations:
Field name | Description | Example |
Issuer |
| https://xxxxx.aliyunidaas.com/oidc1 |
Discovery endpoint Discovery | Obtains the endpoint information and supported modes and parameters of the current IDaaS. It is publicly accessible. | https://xxxxx.aliyunidaas.com/oidc1/.well-known/openid-configuration |
Authorization endpoint Authorization | The address that the application uses to initiate single sign-on. | https://xxxxx.aliyunidaas.com/oidc/authorize |
Token endpoint token | The address of the API operation that the application calls from the backend to exchange the authorization code | https://xxxxx.aliyunidaas.com/oauth2/token |
Token revocation endpoint Revocation | Revokes a specific token that has taken effect. | https://xxxxx.aliyunidaas.com/oauth2/revoke |
Signature verification public key endpoint JWKS | The public key endpoint used to verify | https://xxxxx.aliyunidaas.com/oidc1/slo |
UserInfo endpoint Userinfo | The endpoint called with | https://xxxxx.aliyunidaas.com/oidc1/userinfo |
End session endpoint SLO | Logs the user off from the primary IDaaS logon session. | - |
For more information about the integration, see Connect a self-developed application for SSO.