[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Trying to do some authorization

  • Thread starter Thread starter goo
  • Start date Start date
Status
Not open for further replies.
G

goo

Guest
After strugeling some hours now, I am still not Close to a solution. Is there anyone that could help geting me to understand this (or fix it) I will gladly pay the time it takes. my latest attempt: xhr.open(method, url, true); xhr.setRequestHeader('Authorization','Bearer ' + getURLparam('code') ); // xhr.setRequestHeader('Access-Control-Allow-Headers','Content-Type, Accept, X-Requested-With, Session'); // xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.setRequestHeader('Access-Control-Allow-Origin','*'); xhr.setRequestHeader('Access-Control-Allow-Methods','GET, POST, PATCH, PUT, DELETE, OPTIONS'); xhr.setRequestHeader('Access-Control-Allow-Headers','Origin, Content-Type, X-Auth-Token'); Still no GO. //Geir Otto

Continue reading...
 
Status
Not open for further replies.
Back
Top