Documentation

Getting started

Login flow

How the SDK builds the login URL and redirects the browser.

1 min read

When there is no active session, the SDK sends the browser to the platform login.

The URL built by the SDK

text
{baseUrl}/api/decsuite/auth/login?backurl=<current url encoded>

The SDK reports the current page in backurl so the platform can use it on return.

Declared facts

  • The SDK only builds the login URL and redirects the browser. What the platform does with backurl after login is defined by the platform.
  • When the page loads with an active session, requireUser() returns the user profile.

Next step

Checking the session

Read the current user from the session.

Continue

Support

Implementation support

Official channels for questions during integration.

Response within 1 business day

Technical support email

Response within 1 business day

Send implementation questions with the context of your current step.

Send email
Coming soon

WhatsApp

Response according to the support queue

Direct assistance for quick integration questions.

Available

Support assistant

Immediate response

i6 documentation and implementation assistant.