Skip to content

Not able to authenticate using project-api #20

@KrishnaThali

Description

@KrishnaThali

I tried to generate a new API key and provided the same as shown below:

token <- anonymous_login(project_api = "new_API_key")

If I try to access token$idToken, I am getting NULL. Please find the content of token below:

$error
$error$code
[1] 400

$error$message
[1] "ADMIN_ONLY_OPERATION"

$error$errors
$error$errors[[1]]
$error$errors[[1]]$message
[1] "ADMIN_ONLY_OPERATION"

$error$errors[[1]]$domain
[1] "global"

$error$errors[[1]]$reason
[1] "invalid"

Can anyone please help me on this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions