﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12236	OAuth broken	malenki	team	"In r9176 OAuth doesn't work anymore. It tells the user so and asks that he should get a new authentication code - but after doing so Auth still fails.

openjdk version ""1.8.0_66-internal""
OpenJDK Runtime Environment (build 1.8.0_66-internal-b01)
OpenJDK 64-Bit Server VM (build 25.66-b01, mixed mode

{{{
INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/create -> 200
INFO: OK
INFO: POST https://api.openstreetmap.org/api/0.6/changeset/36190057/upload -> 401
INFO: Unauthorized
Fehler: Error body: Couldn't authenticate you
Fehler: org.openstreetmap.josm.io.OsmApiException: ResponseCode=401, Error Body=<Couldnt authenticate you>
org.openstreetmap.josm.io.OsmApiException: ResponseCode=401, Error Body=<Couldnt authenticate you>
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:678)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:590)
	at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:533)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:175)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:218)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:250)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
INFO: PUT https://api.openstreetmap.org/api/0.6/changeset/36190057 -> 200
INFO: OK
INFO: POST https://api.openstreetmap.org/api/0.6/changeset/36190057/upload -> 401
INFO: Unauthorized
Fehler: Error body: Couldn't authenticate you
Fehler: org.openstreetmap.josm.io.OsmApiException: ResponseCode=401, Error Body=<Couldnt authenticate you>
org.openstreetmap.josm.io.OsmApiException: ResponseCode=401, Error Body=<Couldnt authenticate you>
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:678)
	at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:590)
	at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:533)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:175)
	at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:218)
	at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:250)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

}}}
"	defect	closed	blocker	15.12	Core		fixed	regression http oauth	
