mirror of
https://github.com/google/nomulus
synced 2026-02-07 13:31:12 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user