The COLNEO Authentication module provides comprehensive Identity Management, Authentication,
and web applications for user login and registration.
It consists of two main components:
To use COLNEO infohub and the Webmodules provided for COLNEO pro a user has to
register and create an account on COLNEO infohub.
The following steps describe how to register at COLNEO infohub with email verification.
The registration can be done here: https://idp.colneo.services/cnapp_login/register
Verify your email address using the confirmation code sent after registration.
email-confirmation-link: https://idp.colneo.services/cnapp_login/email-confirm
After registration, confirm your email address:
If you didn't receive the confirmation email:
Access the system with your credentials.
login-link: https://idp.colneo.services/cnapp_login/
Once your email is confirmed, log in to the system:
If you wish to hide the registration links, you can use the register query parameter.
https://idp.colneo.services/cnapp_login?register=false
If you wish to login with a user email, you can use the user query parameter.
https://idp.colneo.services/cnapp_login?user=[email]
You can pass a custom JSON payload to be embedded in the issued JWT token using the payload query parameter.
The value must be a URL-encoded JSON string.
https://idp.colneo.services/cnapp_login?payload=[URL_ENCODED_JSON]
Example:
https://idp.colneo.services/cnapp_login?payload=%7B%22projectId%22%3A%22abc123%22%7D
When this parameter is present, an info button (ⓘ) is shown after the login form so users can inspect the payload data that will be embedded in their token. The payload is accessible from the JWT token after login.
You can pass a JSON modules list to be embedded in the issued JWT token using the modules query parameter.
The value must be a URL-encoded JSON string.
https://idp.colneo.services/cnapp_login?modules=[URL_ENCODED_JSON]
Example:
https://idp.colneo.services/cnapp_login?modules=%5B%22module_a%22%2C%22module_b%22%5D
Both payload and modules can be combined with each other and with other query parameters such as redirect.
By default, if the user has a valid token stored, they are automatically authenticated on page load.
To force the login page to ignore any stored token and require the user to log in again, use the uselocalstorage=false parameter.
https://idp.colneo.services/cnapp_login?uselocalstorage=false
The authentication system supports a redirect query
parameter for seamless third-party application integration:
https://idp.colneo.services/cnapp_login?redirect=[URL_ENCODED_DESTINATION]
| Scenario | Login URL | After Login Redirect |
|---|---|---|
| Simple Redirect |
?redirect=https%3A//myapp.com/dashboard
|
https://myapp.com/dashboard?authcode=abc123&user=user@email.com
|
| URL with Existing Params |
?redirect=https%3A//myapp.com/page%3Fid%3D123
|
https://myapp.com/page?id=123&authcode=abc123&user=user@email.com
|
To integrate with your application:
encodeURIComponent()
https://idp.colneo.services/cnapp_login?redirect=[YOUR_ENCODED_URL]
authcode - Short-lived code to exchange for access token (valid 2 minutes)user - User email addressauthcode and user
authcode for an access token via the IDP
API (see Web Service docs). Complete this within 2 minutes.
POST /token
{
"authcode": "authcode",
"user": "user"
}
Reset your password using email verification code when you can't access your account.
forgot-password-link: https://idp.colneo.services/cnapp_login/forgot-password
If you forgot your password:
Join a project or group using an invitation link sent to your email.
accept-invitation-link: https://idp.colneo.services/cnapp_login/accept-invite
If you received an invitation to join:
When logged in, you can securely log out:
Here is a Quick Reference to all authentication pages and their specific purposes:
| View | URL | Purpose |
|---|---|---|
| Login | https://idp.colneo.services/cnapp_login | Full login with registration links |
| https://idp.colneo.services/cnapp_login?register=false | ↳ Login only, no registration links | |
https://idp.colneo.services/cnapp_login?user=[email]
|
↳ Login with user email in query parameter | |
https://idp.colneo.services/cnapp_login?redirect=[URL_ENCODED]
|
↳ Login and redirect to external application | |
https://idp.colneo.services/cnapp_login?payload=[URL_ENCODED_JSON]
|
↳ Embed custom JSON payload into the issued JWT token | |
https://idp.colneo.services/cnapp_login?modules=[URL_ENCODED_JSON]
|
↳ Embed JSON modules list into the issued JWT token | |
| https://idp.colneo.services/cnapp_login?uselocalstorage=false | ↳ Ignore stored token, force fresh login | |
| Registration | https://idp.colneo.services/cnapp_login/register | User registration form |
| Email Confirmation | https://idp.colneo.services/cnapp_login/email-confirm | Email address confirmation |
| Forgot Password | https://idp.colneo.services/cnapp_login/forgot-password | Request password reset code |
| Reset Password | https://idp.colneo.services/cnapp_login/reset-password | Reset password with code |
| Accept Invitation | https://idp.colneo.services/cnapp_login/accept-invite | Accept organization invitation |
Web Service IDP ( https://idp.colneo.services/service ) provides endpoints to manage identities.
See more details here : ... /cn_documentation/cn_api_REST/idp/