I am currently facing an issue while trying to authenticate users using the Google API. The problem arises when the return data in the parameters contain a DOT within the token, causing the server to break as it requests a page that does not exist. However, when I remove the DOT, everything works perfectly fine.
Below is an example of the URL:
http://localhost:9000/developer/auth/google?code=4/ubXcE1qq84XFtsAwT00_BWkLKR9RldGk6zhBS8ZSiTw.El_qMeir0J0coiIBeO6P2m_ee_B7kwI
Here is the state handler:
.state('/developer/auth/google', {
url: '/developer/auth/google?code',
templateUrl: 'views/developer/auth/google.html',
controller: 'DeveloperAuthGoogleCtrl',
resolve: {
code: function($stateParams) {
return $stateParams.code;
}
}
})
Thank you