[prev in list] [next in list] [prev in thread] [next in thread]
List: forgerock-openam-dev
Subject: Re: [OpenAM-dev] Open AM 13.0 - OAuth 2.0 /authorize API not working in Chrome.
From: Victor Ake <victor.ake () forgerock ! com>
Date: 2016-02-05 10:09:03
Message-ID: 56B474BF.6030306 () forgerock ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi Sunny,
Thanks for reporting this, could you raise an issue in bugster, so it
can be properly addressed?
You should attach your solution (or workaround),
Thanks,
Victor
On 28/01/16 02:41, Sunny Singh wrote:
> Looks like require.js is adding ".js" automatically in my setup. Not
> sure why that is happening but adding the following code to
> XUI/main-authorize.js did the trick:
>
> config: {text: {
>
> useXhr: function (url, protocol, hostname, port) {
>
> return true;
>
> }
>
> }}
>
>
> Referred this issue on SO:
> http://stackoverflow.com/questions/10607370/require-js-text-plugin-adds-js-to-the-file-name
>
> On Wed, Jan 27, 2016 at 4:05 PM, Sunny Singh <mailtosunny85@gmail.com
> <mailto:mailtosunny85@gmail.com>> wrote:
>
> Hi,
>
> I just downloaded and deployed a new instance of Open AM 13.0
>
> I am trying the OAuth2.0 /authorize API in Chrome Browser:
>
> GET
> authorize?decision=Allow&response_type=code&redirect_uri=http%3A%2F%2Fjunk%2F&save_consent=1&client_id=oauth2client
>
> In the 13.0-SNAPSHOT versions, i used to see a page where the user
> would be asked to "allow" or "deny" access to user profile
> attributes. However, after deploying 13.0 version, i am seeing a
> blank page. The redirect to the redirect_uri is not working!
>
> I did open the Developer Tools, I am seeing a bunch of 404 errors
> and some javascript errors as well:
>
> Please see the attached screenshot.
>
> Could someone, please, advise if I am missing something?
>
> Thanks,
> Sunny
>
>
>
>
> _______________________________________________
> OpenAM-dev mailing list
> OpenAM-dev@forgerock.org
> https://lists.forgerock.org/mailman/listinfo/openam-dev
--
Victor Ake
VP Customer Innovation & Co-Founder | ForgeRock
t +34 607 584450 | @ victor.ake@forgerock.com
skype vicake | web www.forgerock.com
[Attachment #5 (text/html)]
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Sunny,<br>
Thanks for reporting this, could you raise an issue in bugster, so
it can be properly addressed?<br>
You should attach your solution (or workaround),<br>
<br>
Thanks,<br>
Victor<br>
<br>
<br>
<div class="moz-cite-prefix">On 28/01/16 02:41, Sunny Singh wrote:<br>
</div>
<blockquote
cite="mid:CAM4zR=6-xcgnu9=AKgg=R++MR_sf95iLRt9HT483Pjrk2Ff9Lg@mail.gmail.com"
type="cite">
<div dir="ltr">Looks like require.js is adding ".js" automatically
in my setup. Not sure why that is happening but adding the
following code to XUI/main-authorize.js did the trick:
<div><br>
</div>
<div>
<p class=""><span class=""> config: </span><span class="">{</span><span
class=""> text: {</span></p>
<p class=""><span class=""> useXhr: function (url,
protocol, hostname, port) {</span></p>
<p class=""><span class=""> return true;</span></p>
<p class=""><span class=""> }</span></p>
<p class=""><span class=""> }</span><span class="">}</span></p>
</div>
<div><br>
</div>
<div>Referred this issue on SO:</div>
<div><a moz-do-not-send="true"
href="http://stackoverflow.com/questions/10607370/require-js-text-plugin-adds-js-to-th \
e-file-name">http://stackoverflow.com/questions/10607370/require-js-text-plugin-adds-js-to-the-file-name</a><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jan 27, 2016 at 4:05 PM, Sunny
Singh <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mailtosunny85@gmail.com" \
target="_blank">mailtosunny85@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I just downloaded and deployed a new instance of Open
AM 13.0</div>
<div><br>
</div>
<div>I am trying the OAuth2.0 /authorize API in Chrome
Browser:</div>
<div><br>
</div>
<div>GET
authorize?decision=Allow&response_type=code&redirect_uri=http%3A%2F%2Fjunk%2F&save_consent=1&client_id=oauth2client</div>
<div><br>
</div>
<div>In the 13.0-SNAPSHOT versions, i used to see a page
where the user would be asked to "allow" or "deny"
access to user profile attributes. However, after
deploying 13.0 version, i am seeing a blank page. The
redirect to the redirect_uri is not working!</div>
<div><br>
</div>
<div>I did open the Developer Tools, I am seeing a bunch
of 404 errors and some javascript errors as well:</div>
<div><br>
</div>
<div>Please see the attached screenshot.</div>
<div><br>
</div>
<div>Could someone, please, advise if I am missing
something?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Sunny</div>
<div><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenAM-dev mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:OpenAM-dev@forgerock.org">OpenAM-dev@forgerock.org</a> <a \
class="moz-txt-link-freetext" \
href="https://lists.forgerock.org/mailman/listinfo/openam-dev">https://lists.forgerock.org/mailman/listinfo/openam-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Victor Ake
VP Customer Innovation & Co-Founder | ForgeRock
t +34 607 584450 | @ <a class="moz-txt-link-abbreviated" \
href="mailto:victor.ake@forgerock.com">victor.ake@forgerock.com</a> skype vicake | \
web <a class="moz-txt-link-abbreviated" \
href="http://www.forgerock.com">www.forgerock.com</a></pre> </body>
</html>
_______________________________________________
OpenAM-dev mailing list
OpenAM-dev@forgerock.org
https://lists.forgerock.org/mailman/listinfo/openam-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic