mirror of
https://github.com/google/nomulus.git
synced 2025-05-12 22:38:16 +02:00
Add an option to perform login on remote machines
If the user runs "nomulus -e [ENV] login --remote", an URL will be provided, the user then can visit the URL on any machine (not necessary where the command is run) and copy&paste back the authorization code to complete authorization. This makes it easy to login on machines where local browsers are not easily accessible. Also upgraded nebula lint version to 10.3.5. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=225198700
This commit is contained in:
parent
4146e69d60
commit
377736e987
6 changed files with 39 additions and 16 deletions
|
@ -118,8 +118,7 @@ public class AuthModule {
|
|||
static Details provideDefaultInstalledDetails() {
|
||||
return new Details()
|
||||
.setAuthUri("https://accounts.google.com/o/oauth2/auth")
|
||||
.setTokenUri("https://accounts.google.com/o/oauth2/token")
|
||||
.setRedirectUris(ImmutableList.of("urn:ietf:wg:oauth:2.0:oob", "http://localhost"));
|
||||
.setTokenUri("https://accounts.google.com/o/oauth2/token");
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue