Skip to content
Permalink
Browse files

[oauth2] Fix redirect listener never starts with oauth2 grant flow au…

…thorization
  • Loading branch information
nyalldawson committed Oct 24, 2018
1 parent 9462a7e commit 7a982f5103c6537c20d94c2a8751ef6ce59f3112
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/auth/oauth2/qgso2.cpp
@@ -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() );

0 comments on commit 7a982f5

Please sign in to comment.
You can’t perform that action at this time.