Skip to content

ZAUTHENTICATE created in VS Code has first line that prevents delegated authentication from working #1611

Closed
@adaptun

Description

@adaptun

When you create any routine in VS Code it adds "ROUTINE RoutineName" as a first line automatically

When you create ZAUTHENTICATE the first line is "ROUTINE ZAUTHENTICATE"

When user enables Delegated authentication, they get the following LoginFailure error

Error message: ERROR #798: Delegated login failed
ERROR #1403: Routine ZAUTHENTICATE requires the following parameters: (ServiceName,Namespace,Username,Password,.Credentials,.Properties)
Web Application: /csp/logintest

This can be fixed by removing the first line "ROUTINE ZAUTHENTICATE" from ZAUTHENTICATE

I'm not sure if this is documentation issue, VS Code issue, or "how ZAUTHENTICATE is called" issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions