<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:08:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[AAA-75] domain contains garbage characters when authenticating</title>
                <link>https://jira.opendaylight.org/browse/AAA-75</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;When doing the following curl (which used to work), authentication fails.&lt;/p&gt;

&lt;p&gt;curl -k -X POST -H &quot;Content-Type: application/x-www-form-urlencoded&quot; &lt;a href=&quot;http://127.0.0.1:8181/oauth2/token&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8181/oauth2/token&lt;/a&gt; -d &quot;grant_type=password&amp;amp;username=admin&amp;amp;password=admin&amp;amp;scope=sdn&quot;&#8203;&lt;/p&gt;

&lt;p&gt;the response is:&lt;/p&gt;
{&quot;error&quot;:&quot;Domain :sdn\u200b does not exist&quot;}</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22326">AAA-75</key>
            <summary>domain contains garbage characters when authenticating</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                                <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="saichler@cisco.com">Sharon Aicler</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Dec 2015 17:28:59 +0000</created>
                <updated>Tue, 3 Oct 2023 13:20:35 +0000</updated>
                                                                            <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="42298" author="rgoulding" created="Wed, 9 Dec 2015 18:22:46 +0000"  >&lt;p&gt;Try the following instead:&lt;/p&gt;

&lt;p&gt;curl -k -X POST -H &quot;Content-Type: application/json&quot; &lt;a href=&quot;http://127.0.0.1:8181/oauth2/token&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8181/oauth2/token&lt;/a&gt; -d &quot;grant_type=password&amp;amp;username=admin&amp;amp;password=admin&amp;amp;scope=sdn&quot;&#8203;&lt;/p&gt;


&lt;p&gt;The above works for me.&lt;/p&gt;</comment>
                            <comment id="42299" author="rgoulding" created="Mon, 14 Dec 2015 17:30:10 +0000"  >&lt;p&gt;Works when &quot;application/json&quot; header is used.&lt;/p&gt;</comment>
                            <comment id="42300" author="vrpolak" created="Mon, 21 Dec 2015 14:57:34 +0000"  >&lt;p&gt;&amp;gt; &quot;grant_type=password&amp;amp;username=admin&amp;amp;password=admin&amp;amp;scope=sdn&quot;&#8203;&lt;/p&gt;

&lt;p&gt;That is not a string containing JSON encoded object. But it is an URL-encoded www form.&lt;br/&gt;
I wonder why user has to specify invalid content-type to get correct behavior.&lt;/p&gt;</comment>
                            <comment id="42301" author="rgoulding" created="Mon, 21 Dec 2015 15:10:52 +0000"  >&lt;p&gt;I am not the original author of this code;  they have long since left this project.  I received documentation concerning use of the token endpoint, and that always mentioned using the application/json content type;  However, that does not mean it is right... let me take a closer look by reopening and taking this one.&lt;/p&gt;

&lt;p&gt;TokenEndpoint is the backing HttpServlet implementation for the /oauth2/token endpoint.  It looks like whoever wrote the Java code assumed the payload would be in a certain format (incorrectly).  We can use this bug to track it... my guess is this has been an issue for a very long time and people just accepted it in its broken form.&lt;/p&gt;</comment>
                            <comment id="42302" author="rgoulding" created="Tue, 2 Feb 2016 15:37:53 +0000"  >&lt;p&gt;Workaround for when this happens;  delete idmlight.db.* and restart karaf.  Working on the proper fix though.&lt;/p&gt;</comment>
                            <comment id="42303" author="rgoulding" created="Mon, 8 Feb 2016 15:28:50 +0000"  >&lt;p&gt;De-escalating since a workaround exists.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10001">
                    <name>Cloners</name>
                                                                <inwardlinks description="is cloned by">
                                        <issuelink>
            <issuekey id="29114">AAA-157</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4742</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=4742]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzztr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>