<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "Betreff: Problem beim Erstellen eines Token" in Getting started programming with the Viessmann API</title>
    <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274823#M289</link>
    <description>&lt;P&gt;Danke!&lt;/P&gt;&lt;P&gt;Es war ein Fehler im Curl-Kommando.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kann es sein dass der refresh-token nur 3600, gültig ist? was bedeutet das? in sekunden, Minuten?&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 09:21:03 GMT</pubDate>
    <dc:creator>madmax1403</dc:creator>
    <dc:date>2022-11-07T09:21:03Z</dc:date>
    <item>
      <title>Problem beim Erstellen eines Token</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274139#M282</link>
      <description>&lt;P&gt;Hallo&lt;/P&gt;&lt;P&gt;Ich bekomme immer "{"error":"invalid-token-request"}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich mache erst:&lt;/P&gt;&lt;P&gt;&lt;A href="https://iam.viessmann.com/idp/v2/authorize?client_id=meine_id&amp;amp;redirect_uri=http://localhost:4200/&amp;amp;response_type=code&amp;amp;code_challenge=7ItauHETcDqiCjop_jkiCnSZZNBRVesW6Gi9-YL9TPQ&amp;amp;scope=IoT%20User" target="_blank"&gt;https://iam.viessmann.com/idp/v2/authorize?client_id=meine_id&amp;amp;redirect_uri=http://localhost:4200/&amp;amp;response_type=code&amp;amp;code_challenge=7ItauHETcDqiCjop_jkiCnSZZNBRVesW6Gi9-YL9TPQ&amp;amp;scope=IoT%20User&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;und dann:&lt;/P&gt;&lt;P&gt;curl -X POST "&lt;A href="https://iam.viessmann.com/idp/v2/token" target="_blank"&gt;https://iam.viessmann.com/idp/v2/token&lt;/A&gt;" \&lt;BR /&gt;-H "Content-Type: application/x-www-form-urlencoded" \&lt;BR /&gt;-d "client_id=meine_id \&lt;BR /&gt;&amp;amp;redirect_uri=&lt;A href="http://localhost:4200/" target="_blank"&gt;http://localhost:4200/&lt;/A&gt; \&lt;BR /&gt;&amp;amp;grant_type=authorization_code \&lt;BR /&gt;&amp;amp;code_verifier=vvTxaUWAqC72G3H6n5IeWCv2Rf5WffAN-_xZKHEjI77-x0D4gkn_WAQp0qSAn77kpVSlE9U5wx9ujnkSY1d7jQTzco-suL4EpjMUll_np78euq9Bi3VgIsJRjY3O6o6h \&lt;BR /&gt;&amp;amp;code=97ASlP7HBnQB8fWH3k7aK6_bLvdPQGmrbzy26QT2jk8"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aber es geht nicht!&lt;/P&gt;&lt;P&gt;Was mache ich falsch?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VG&lt;/P&gt;&lt;P&gt;Uwe&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 10:13:50 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274139#M282</guid>
      <dc:creator>madmax1403</dc:creator>
      <dc:date>2022-11-04T10:13:50Z</dc:date>
    </item>
    <item>
      <title>Betreff: Problem beim Erstellen eines Token</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274494#M283</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;der Authorization Code, den du im ersten Schritt erzeugst und dann im 2. Schritt verwendest, ist nur 20 Sekunden lang gültig. Vielleicht liegt‘s daran? Mit flinken Fingern und etwas Übung schafft man das Cut&amp;amp;Paste. Oder alternativ ein PHP Skript bauen oder Node-Red o.ä. Tools verwenden.&amp;nbsp;&lt;BR /&gt;Viele Grüße &amp;nbsp;Chris&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Nov 2022 08:56:11 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274494#M283</guid>
      <dc:creator>CaCicala</dc:creator>
      <dc:date>2022-11-06T08:56:11Z</dc:date>
    </item>
    <item>
      <title>Betreff: Problem beim Erstellen eines Token</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274806#M287</link>
      <description>&lt;P&gt;Danke! Jetzt ging es!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aber wie mache ich es mit dem Refreshtoken?&lt;/P&gt;&lt;P&gt;Bei:&lt;/P&gt;&lt;P&gt;curl -X POST "&lt;A href="https://iam.viessmann.com/idp/v2/token" target="_blank"&gt;https://iam.viessmann.com/idp/v2/token&lt;/A&gt;" \&lt;BR /&gt;-H "Content-Type: application/x-www-form-urlencoded" \&lt;BR /&gt;-d "grant_type=refresh_token&amp;amp;client_id=client_id \&lt;BR /&gt;&amp;amp;refresh_token=537b8a2c6f61913c3991f8b85d5edeaf"&lt;/P&gt;&lt;P&gt;bekam ich "invalid-token-request".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was mache ich falsch?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:09:33 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274806#M287</guid>
      <dc:creator>madmax1403</dc:creator>
      <dc:date>2022-11-07T09:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Betreff: Problem beim Erstellen eines Token</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274813#M288</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.viessmann.de/t5/user/viewprofilepage/user-id/58854"&gt;@madmax1403&lt;/a&gt;, ist der Refresh Token noch aktuell? Probiere bitte einen neuen Refresh Token zu erstellen, indem du in Step 1 im Parameter "Scope2 noch den string "%20offline_access" hinzufügst.&lt;/P&gt;
&lt;P&gt;Gruß,&lt;/P&gt;
&lt;P&gt;Michael&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:14:33 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274813#M288</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2022-11-07T09:14:33Z</dc:date>
    </item>
    <item>
      <title>Betreff: Problem beim Erstellen eines Token</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274823#M289</link>
      <description>&lt;P&gt;Danke!&lt;/P&gt;&lt;P&gt;Es war ein Fehler im Curl-Kommando.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kann es sein dass der refresh-token nur 3600, gültig ist? was bedeutet das? in sekunden, Minuten?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:21:03 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274823#M289</guid>
      <dc:creator>madmax1403</dc:creator>
      <dc:date>2022-11-07T09:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Betreff: Problem beim Erstellen eines Token</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274831#M290</link>
      <description>&lt;P&gt;Die Gültigkeitsdauer (in Sekunden) bezieht sich auf den ebenfalls erstellten Access Token. Der Access Token ist 1 Stunde gültig, dann muss ein neuer Access Token erstellt werden.&lt;/P&gt;
&lt;P&gt;Der Refresh Token hingegen hat eine Gültigkeit von 180 Tagen.&lt;/P&gt;
&lt;P&gt;Gruß,&lt;/P&gt;
&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:29:02 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274831#M290</guid>
      <dc:creator>CustomerCareMichael</dc:creator>
      <dc:date>2022-11-07T09:29:02Z</dc:date>
    </item>
    <item>
      <title>Betreff: Problem beim Erstellen eines Token</title>
      <link>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274842#M291</link>
      <description>&lt;P&gt;Danke!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 09:35:46 GMT</pubDate>
      <guid>https://community.viessmann.de/t5/Getting-started-programming-with/Problem-beim-Erstellen-eines-Token/m-p/274842#M291</guid>
      <dc:creator>madmax1403</dc:creator>
      <dc:date>2022-11-07T09:35:46Z</dc:date>
    </item>
  </channel>
</rss>

