Skip to content

Commit

Permalink
[oauth2] Fix redirect listener never starts with oauth2 grant flow au…
Browse files Browse the repository at this point in the history
…thorization
  • Loading branch information
nyalldawson committed Oct 24, 2018
1 parent 9462a7e commit 7a982f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/auth/oauth2/qgso2.cpp
Expand Up @@ -66,6 +66,7 @@ void QgsO2::initOAuthConfig()
QgsDebugMsg( QStringLiteral( "localpolicy(w/port): %1" ).arg( localpolicy.arg( mOAuth2Config->redirectPort() ) ) );
setLocalhostPolicy( localpolicy );
setLocalPort( mOAuth2Config->redirectPort() );
mIsLocalHost = isLocalHost( QUrl( localpolicy.arg( mOAuth2Config->redirectPort() ) ) );

setTokenUrl( mOAuth2Config->tokenUrl() );
setRefreshTokenUrl( mOAuth2Config->refreshTokenUrl() );
Expand Down

0 comments on commit 7a982f5

Please sign in to comment.