Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var body = "grant_type=password&username=" + encodeURI(username) + "&password=" + encodeURI(password) + "&client_id=internal-test&client_secret=sean-and-brad-crazy-auth&scope=apiLevel1";
- this.isLoading = true;
- this.showMessageLogin = false;
- //var server = 'http://followup2.azurewebsites.net';
- let headers = new Headers({ 'Content-Type': 'application/x-www-form-urlencoded' });
- let options = new RequestOptions({ headers: headers });
- var server = 'http://localhost:3331';
- var endpoint = server + '/auth/connect/token';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement