Skip to content

Login via API token instead of email/password combo #2410

Description

@timbru31

Description:
It's possible to login to Ionic via the env variables IONIC_EMAIL and IONIC_PASSWORD.
For e.g. CI and other use cases a login via an API token would be the better option, but currently there is no support to authenticate via a token.

Steps to Reproduce:
n/a

Output:
n/a

My ionic info:

❯ ionic info                                                                                                                                                                                                                                                         [10:00:49]
[WARN] You are not in an Ionic project directory. Project context may be missing.

global packages:

    @ionic/cli-utils : 1.3.0
    Ionic CLI        : 3.3.0

System:

    Node       : v8.1.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b
    ios-deploy : not installed
    ios-sim    : not installed

Other Information:
Related issue and suggestion of @dwieeb here: #2293 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions