Closed ghost closed 4 years ago
So, you've created an OAuth client on osm.org and added your key and secret to OSMCAL_OSM_KEY
and OSMCAL_OSM_SECRET
, right?
osm.org will redirect back to osmcal after successful login. For this purpose the “Callback URL” has to be configured correctly. For me (hosting locally with default settings) it looks like this:
That would be the problem. I didn't set callback URL (I did it programatically in my another project). I will test it today evening and close the issue asap. Thanks.
After exporting local variables with osm key and secret, I still have problem with authentication to osm.org. function
oauth_callback
is not even called (I tested it withprintf
).I want to ask if there is something yet to set up than pull request #38 and osm key and secret env. variables?