Skip to content

Authentication fails with ls-aai-mock #60

@Ivarz

Description

@Ivarz

Hi, I'm encountering the following problem with storage-and-interfaces and ls-aai-mock latest versions:

After copying the relevant config files for storage-and-interfaces and adding client1.yaml to ls-aai-mock, (as per the documentation), authentication fails after clicking consent button ( localhost:8085 LS LOGIN -> localhost:8080 consent).

Browser redirects back to sda-auth and displays error: Authentication failed. You may need to clear your session cookies and try again.

Additionally, sda-auth emits error:

{"authType":"oidc","level":"error","msg":"authentication failed: oauth2: cannot fetch token: 404 Not Found\nResponse: Not Found","time":"2024-12-10T10:34:52Z"}

storage-and-interfaces and ls-aai-mock containers are running and healthy.

environment:
rocky linux 9.5
problem replicated on a fresh ubuntu:24.10 install
storage-and-interfaces (HEAD: fa378ee6ba4dbd5d7abd9be858f4bcd1036bdedb)
ls-aai-mock (HEAD: ac812a920651f0b89d867d7decd786a26f8278e4)

Thank's for the effort in developing this product!
Ivars

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