Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8752795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:18:16+00:00 2026-06-13T13:18:16+00:00

We are trying to roll out authentication into my app and it’s not working

  • 0

We are trying to roll out authentication into my app and it’s not working for us.

We have set up the Current Authority and Current Authorizer and have even set the login query to be just select ‘a’ so we are guaranteed to get a result set.

We have copied the Login workflow to workflows/system directory.

It doesn’t look like it’s even trying to run the login query.

start.xml workflow:

<workflow>
    <authenticate error-screen="login-error" dataset="login">
        <show-screen name="login" />
    </authenticate>
    <call-workflow name="home"/>
</workflow>

login.xml screen:

<screen xmlns:action="urn:aviarc:widget:com.aviarc.toronto.widget.core.action:1"
    xmlns:app="urn:aviarc:widget:application">

    <group-box visible="y" left="10" right="4" top="10" bottom="4" class="blue">

        <image height="80" width="245" left="10" top="5" class="mfcologo" />
        <line height="5" left="0" right="0" top="120" class="myerblue" />

        <text-static visible="y" left="74" top="151" width="80" height="20" text="User name:" />
        <text-static visible="y" left="234" top="151" width="80" height="20" text="Password:" />

        <text-edit name="username" left="74" top="182" width="100" height="20" field="login.user_name" />
        <text-edit name="password" left="234" top="182" width="100" height="20" field="login.user_password" datatype="password" />

        <button left="376" top="182" width="60" height="20" label="Login" action="Next"/>
    </group-box>
</screen>

system/Login.xml workflow:

<workflow xmlns:au-security="urn:aviarc:xmlcommand:au.com.aviarc.xmlcommand.security">

    <au-security:hash-text text="{$login.user_password}" result-field="login.hashed-password" />

    <dataset name="cslogin" databroker="loginqry" query="get-all">
        <param name="username" value="{$login.user_name}" />
        <param name="password" value="{$login.hashed-password}" />
    </dataset>

    <if test="dataset-empty" value1="cslogin">
        <then>
            <set-field field="login.authenticated" value="n"/>
        </then>
        <else>
            <set-field field="login.authenticated" value="y"/>
        </else>
    </if>
</workflow>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:18:17+00:00Added an answer on June 13, 2026 at 1:18 pm

    The Workflow authentication requires “username” field to be populated prior to entering it, otherwise the authentication would fail immediately and login error screen will be displayed.

    In your example it is fairly easy to fix, changing the line in login.xml screen from:

    <text-edit name="username" left="74" top="182" width="100" height="20" field="login.user_name" />
    

    to be:

    <text-edit name="username" left="74" top="182" width="100" height="20" field="login.username" />
    

    and updating reference to it in the system/Login workflow.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to build out an exception if move.UserId does not equal currentUserId then Redirect
trying to figure out why this is happening - I have an input text
I'm trying to roll out a little Rails plugin that is basically is just
I can't figure this one out. I'm trying to dynamically roll keys. I can
There are plenty of multipart/form-data file upload solutions out there, but I have not
I'm trying to roll out a strategy pattern with entity framework and the repository
We are trying to roll out our first android application. It tests fine in
I am trying to create a roll-in / roll-out slideshow in jQuery/JavaScript. My problem
I'm trying to get the orientation (Roll, Pitch, Yaw) angles of the mobilePhone using
I am trying to save a photo with a button to camera roll after

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.