Skip to content

[QA]tests for auth-app token generation via API and cli #10619

Description

@v-scharf

related: #9755
docs task: #10605

Note

Creatiing app token:
POST https://localhost:9200/auth-app/tokens?expiry=24h

  • this returns the actual token (save to use it later - cannot be accessed later on)

List app tokens:
GET https://localhost:9200/auth-app/tokens

  • this returns list of tokens with id (NOT actual token value)

we need to have api tests for that and cli test

Bugs

Test Cases

API

Impersonation

CLI

Use of Token

Enable with PROXY_ENABLE_APP_AUTH=true (https://owncloud.dev/services/auth-app/#service-startup)

Refactor

cc @saw-jan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions