Skip to content

login instructions API access missing parameter #5

@gebele

Description

@gebele

The login instructions for API access (https://openrisknet.org/e-infrastructure/login-instructions) need an update for 2FA authentication. This requires parameter -d totp=OneTimeToken:
token=$(curl -d "grant_type=password" -d "client_id=client" -d "username=username" -d "password=password" -d "totp=OneTimeToken" sso.prod.openrisknet.org/auth/realms/openrisknet/protocol/openid-connect/token 2> /dev/null | jq -r '.access_token')

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