Skip to content

Force Session Authentication #589

Closed
Closed

Description

@itg-assistant

Kay asked 2017-02-01 13:54:20 UTC

How can I force the intern WiseJ context, that the session is authenticated?

This don't work, cause the property is readonly:

Application.IsAuthenticated=true;

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-02-01 15:01:30 UTC

    Wisej works with any authentication scheme supported by the web server and the browser.

    If you want to force a secure connection instead use the "secure" property in default.json. Application.IsSecure will return true if the browser is using SSL. You may also navigate to an https:// url programmatically. When the connection is https:// Wisej will also use a secure WebSocket connection with wss://.

  2. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Frank (ITG) answered 2017-02-01 15:02:05 UTC

    Hi Kay,

    you usually force browser authentication in your web server.

    IsAuthenticated reflects the status of that authentication.

    Find more information here: https://docs.wisej.com/docs/concepts/security#authentication

    Best regards
    Frank

  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Kay answered 2017-02-01 15:10:28 UTC

    Thank you, that will help me alot !

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions