Auth0 Token Endpoint Authentication Method is faded out? - auth0

I am suppose to change this field inside my client settings to something other than none, but it is greyed out and I cannot change it. Is there something else I have to do?

This will be intentionally greyed out if you have a Client Type of "Single Page Application" or "Native" as it does not make sense for those types. See below:
If your application were "Regular Web App" or "Non Interactive Client" this would become available.

Related

Can't get ActiveX WebBrowser to render in anything other than default without using registry key

I have a problem with an ActiveX webbrowser control, ProgID="shell.explorer.2" in a VB.Net addin development to work within SAP Business 1 running 32 bit on a 64 bit server. It's set to display pages from localhost:1234 which is an OWIN SelfHosted WebAPI. The pages in the site use AngularJS.
The problem is well known on SO, and the FEATURE_BROWSER_EMULATION update does work for me, but I need to find another solution. Since I'm writing an Addin, and the hosting EXE is actually "SAP Business One.exe", adding a registry key changes the setup of every Webbrowser control in the application, whether they're mine, part of the application, or even part of someone else's addin.
Since my Angularjs app seems to be happy with IE10, and I want to set the requirement level as low as possible, I want to ask for IE10 rendering.
The doctype has always been <!DOCTYPE html>.
I've tried a <meta http-equiv="x-ua-compatible" content="IE=IE10"> - even right at the top of the <head> and the mode won't switch.
I've added X-UA-Compatible: IE=10 to the response headers at the server-end for .htm files - I can clearly see the header in Fiddler, and the rendering mode won't change.
So my request for help is many fold - can somebody help with the following:
1) Why don't the X-UA-Compatible headers work in either meta form or as a server header which I thought was supposed to override intranet settings? What am I doing wrong?
2) Is there any way to set the rendering mode via a property or method of an activex interface of the webbrowser control, even if I have to resort to C++?
3) Is there any way to wrap the control in such a manner that the advertised owning process is different i.e. matches myaddin.exe name instead of the main application?
I really would like to get this mode switch working, otherwise I may have to rewrite using IE7 compatible code, which I really don't want to have to do!
Thanks in advance for any help,
Mark

How do I add my privacy policy link to the Windows Settings charm with Unity?

Windows Store rule 4.1.1 mandate that:
You must provide access to your privacy policy in the Description page
of your app, as well as in the app’s settings as displayed in the
Windows Settings charm.
The Description page is easy, since when you setup your app in the store there's a field where you can enter the URL.
However I'm a bit clueless about how to add this entry in the Windows Setting charm in a Unity project. I've found this answer but that assumes you are in full control and knowledge of your Windows Store app, while I'm just exporting from Unity, so I've no clue on where I would put that code.
So, how do I do that?
Unity is exporting the game as JS or C#.
So have a look to these samples http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples. In these samples, there are a few Setting Charm screnios that you can use in your application.
But remember that, you should add setting charm after export the game.
The plugin prime31/MetroEssentials has the function registerSettingsCommand, which allows you to do just that.
// Registers a settings item with an associated message that will be displaed in a popup when clicked
public static void registerSettingsCommand( string title, string message )
// Registers a settings item with an action. When the settings item is clicked the action will be called.
public static void registerSettingsCommand( string title, Action onActivated )

Safari extension options pages with access to background page

I'm developing a cross-platform browser extension, and have based all my code on the Chrome-way of doing this. I have counted on that the background page will be accessible from the options page, which in Safari extensions turns out to be not possible (since there is no such thing as an options-page). You can only access safari.extension.globalPage.contentWindow from within the extension popup, and the background page itself.
Now, I have an options page, which is an html-page within the extension bundle, and so far I haven't found a way for Safari to give it extension "rights". The closest I have come is adding a content script that's only added on the options page. This seems a bit silly, since the html page itself is in the extension bundle?!
Others have suggested using asynchronous ping-pong style message event handlers, and even the canLoad-mechanism (which is "only" able to run in a beforeload-event). I have been able to hack the canLoad-mechanism for synchronous messaging by forging the BeforeLoadEvent:
// Content script (run from anywhere)
var result = safari.self.tab.canLoad(new BeforeLoadEvent, "data")
-> "return value"
// Background page
safari.application.addEventListener('message', function(e) {
if ( e.name === "canLoad" )
e.message = "return value";
}, true);
It's a hack, but it works. However, I am crippled by the message transport serialization, since I need to be able access methods and data on my objects from the background page. Is there anyway around this?
Possible ways that might work but I don't know if possible:
Access options-page window-object from backgrounds page. Is that possible?
Message passing, need to bypass message serialization
Any shared/global object that I can attach objects to and fetch from the options page?
Make Safari run the options.html page from outside the content-script sandbox? It works in Chrome since they are both within the extension-bundle. It's quite annoying that safari doesn't do this too.
Run the options-page from within the popup. This is promising, but it crashes safari (which is very promising!). However, from the looks of it it's just something to do with a CSS animation in my options.html page. The biggest issue is that it has to be able to open an OAuth2 popup, but thanks to being able to programmatically open the popover, it might be a non-issue. However, this option is the most realistic, but I would rather have it open in a new tab.
Any suggestions and hackish workarounds would really help.

Why are xforms-submit-error event properties allways empty?

I've just started with orbeon and xforms for some project.
I have Orbeon succesfuly integrated with my test application as xforms engine (separate deployment with crosscontext).
Now, xforms basics are behind me and I needed to implement some kind of error checking after submit. So I'm trying to handle xforms-submit-error for example like this (this is modified example from w3.org):
<xf:submission action="/processor500" method="post" id="submission1" replace="none">
<xf:message ev:event="xforms-submit-error" level="modal">submission1 error (<output value="event('response-status-code')"/>)</xf:message>
</xf:submission>
/process500 is empty servlet, which just raise RuntimeException so it is returning 500 response code.
But response-status-code in event is allways empty. Any of event properties are allways empty and i just can't figure it why (google didn't help this time).
Any suggestions?
Thanks.
event('response-status-code') on xforms-submit-error is supported, and your example doesn't work most likely because you're missing a prefix on the <output> (it should be <xf:output>). Also see this XForms test case showing the event('response-status-code') in action.

Use of XMLHttpRequest in Dashboard widget failing

I am unable to get an XMLHttpRequest object to work correctly in a Dashboard widget I am writing. I've isolated it to a trivial example not working in the global scope of the main.js file:
xhr = new XMLHttpRequest;
xhr.open( 'GET', "http://google.com", false );
xhr.send('');
When the last line is executed I get the error "ABORT_ERR: XMLHttpRequest Exception 102" (this is in the Dashcode debugger).
Does anyone have any idea what could be wrong here?
You need to select "Allow Network Access" in the "Widget Attributes" pane.
OK, I've found it (three hours): you need to add the following key to the Info.plist file:
<key>AllowNetworkAccess</key>
<true/>
I've got the same trouble unresolved even after AllowNetworkAccess were added to my info.plist. I've tried to change this key to AllowFullAccess, but nothing changed. After system reboot it worked fine o_O
The steps to take are:
From the menu, choose "Dashcode > Preferences..." and click on the Destinations tab.
Below the left column, click on the plus sign to create a new destination.
For an external website, choose FTP in the Type drop down. Fill out the Server, Path, User name and Password. Close the Preferences pane.
Back in Dashcode, click on the Widget Attributes icon in the left column.
Check the boxes of Allow network Access and Allow External File Access in the main column.
You should be able to run the widget without the 102 Exception error (if you are online)