> @@ -101,10 +101,20 @@ protected void bindErrorHandlers() {
> return
> MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.create(authException,
> compose(new Function<Credentials, String>() {
> public String apply(Credentials in) {
> - checkState(in.identity.indexOf("@") != 1,
> - "identity should be in
> [email protected] format");
> -
> - Project project =
> api.getProjectApi().get(Iterables.get(Splitter.on("@").split(in.identity),
> 0));
> + // ID should be of the form
> [email protected]
> + // OR (increasingly often)
> [email protected]
> + // where project_id is the NUMBER;
> + // HERE we also accept simply "project" as the identity,
> if no "@" is present;
> + // this is used in tests, but not sure if it is valid in
> the wild.
> Plus (if I were Google) it would make sense not to require the @... ! Thx.
Does anyone know if it's possible to log in to a Google Cloud console with just
`123845678986` if your ID is
[`[email protected]`](https://developers.google.com/compute/docs/authentication)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/9/files#r7535089