Re: R: Cant login from cf CLI, "Missing grant type"


Filip Hanik
 

Make sure you use the latest version of the CLI, that could be an issue too

On Wed, Jul 15, 2015 at 9:25 AM, Filip Hanik <fhanik(a)pivotal.io> wrote:

You shouldn't have to add the client to the manifest, as it is
automatically added here:

https://github.com/cf-identity/cf-release/blob/identity-latest/jobs/uaa/templates/uaa.yml.erb#L128-L137

If you wish to add it, it would look like:

properties:
uaa:
clients:
cf:
authorities: "uaa.none"
authorized-grant-types: "implicit,password,refresh_token"
scope:
"cloud_controller.read,cloud_controller.write,openid,password.write,cloud_controller.admin,scim.read,scim.write,doppler.firehose"
secret: ""




On Wed, Jul 15, 2015 at 7:35 AM, Michael Grifalconi <
michael.grifalconi(a)studenti.unimi.it> wrote:

Minimal update, I attach the new manifest, cf login trace and uaa.log
relevant part.

I am thinking that is related to the uaa->clients part of the manifest

thank you.
Michael

Il 15/07/15 08:57, *Michael Grifalconi * <
michael.grifalconi(a)studenti.unimi.it> ha scritto:

Hello all,

I can login using the web interface (login.mydomain.com) but when I try
on the cf CLI, I get:

Server error, status code 400, error code: invalid_request, message:
Missing grant type

Am I missing something in the (attached)manifest?

Thank you!

Michael

------------------------------

_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev


_______________________________________________
cf-dev mailing list
cf-dev(a)lists.cloudfoundry.org
https://lists.cloudfoundry.org/mailman/listinfo/cf-dev

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.