Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added auth token discussion #8919

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open

Conversation

jdiehl
Copy link
Contributor

@jdiehl jdiehl commented Jan 15, 2025

@Robinfr Please review
@ConnorLand

Authentication tokens allow users to stay logged in for long periods of time. They store the credentials of the user on the user's device and use that to automatically create a new session when the previous session is expired. They are enabled by default for offline-first applications.

{{% alert color="warning" %}}
Authentication tokens cannot be used with a login processing relying on `login.html`. To make use of authentication tokens, [create a modeled sign-in page](/refguide/mobile/using-mobile-capabilities/auth-users/#model-the-sign-in-page) that uses the Sign in Nanoflow action.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you also want to reference the login2 client API?

Suggested change
Authentication tokens cannot be used with a login processing relying on `login.html`. To make use of authentication tokens, [create a modeled sign-in page](/refguide/mobile/using-mobile-capabilities/auth-users/#model-the-sign-in-page) that uses the Sign in Nanoflow action.
Authentication tokens cannot be used with a login processing relying on `login.html`. To make use of authentication tokens, [create a modeled sign-in page](/refguide/mobile/using-mobile-capabilities/auth-users/#model-the-sign-in-page) that uses the Sign in Nanoflow action or the `login2` client API.

@MarkvanMents
Copy link
Collaborator

Hi @jdiehl and @Robinfr

We have a whole document on Session Management: https://docs.mendix.com/refguide/session-management/.
Perhaps you could link to that, and review it to make sure it covers everything you need here, rather than duplicating the information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants