TypeError: Cannot read property 'oauthType' of undefined
Author: aribsCreated Jan 25, 2019Updated Jan 25, 2019
Hi, i found this problem when configure custom oauth to Wordpres $authProvider.oauth2({ name: 'KOAPP', url: 'http://subdomain.domain.com', clientId: 'tiihbdfgsdgssw', redirectUri: 'http://localhost:9001/#/wpaccountpro-XZ', authorizationEndpoint: 'http://subdomain.domain.com/wp-json/oauth2/authorize', oauthType: '2.0' });
Thanks
Source: sahat/satellizer