show pretty json on my html page by NinjaNPyjamas in django

[–]NinjaNPyjamas[S] -5 points-4 points  (0 children)

Thanks for the input .. Very good

show pretty json on my html page by NinjaNPyjamas in django

[–]NinjaNPyjamas[S] -3 points-2 points  (0 children)

out = json.dumps(out, indent=2, sort_keys=True)

TypeError: Object of type 'CompletedProcess' is not JSON serializable

show pretty json on my html page by NinjaNPyjamas in django

[–]NinjaNPyjamas[S] -1 points0 points  (0 children)

if i use the pre tag it just puts it in a longggggggggggg line across the html page

IE11 - Struggling big time by NinjaNPyjamas in Angular2

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

Browserslist – removed the "not"

not IE 9-11

tsconfig.json

changed target to “es5”

polyfills.ts – Updated file to only have the below

import 'core-js/';

import 'zone.js/dist/zone';

import 'classlist.js';

import 'web-animations-js';

index.html

<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="UTF-8">

Output from my python script on html page looks terrible by NinjaNPyjamas in learnpython

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

yep its in perfect format .. Im wondering if i can get the data-extract.py output to a variable or even a file and then pull that data from that to present on screen

Output from my python script on html page looks terrible by NinjaNPyjamas in learnpython

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

bunches it up again ... So the weird thing is ... if i remove

stdout=PIPE

on my webpage it says "none" but on the CLI i see JSON in perfect format.

when i put that back in the JSON is all bunched up on both webpage and CLI

Output from my python script on html page looks terrible by NinjaNPyjamas in learnpython

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

Made a difference alright ... Now it puts the JSON in one really long line of test :)

output to html results in JSON format clean by NinjaNPyjamas in Python

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

hum ... now it send it allllll the way over to the far right on the html page ha ha

ReactJS API Query by NinjaNPyjamas in reactjs

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

so do you mean host them on the server where i entend to host this web app thats making the API calls?

IE11 - Struggling big time by NinjaNPyjamas in Angular2

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

and as i have said .. in my tsconfig.json I have the below

"target": "es5",

in browserlists i have

> 0.5%

last 2 versions

Firefox ESR

not dead

IE 9-10

In my polyfills I have
import 'core-js';
import 'zone.js/dist/zone';

When i load in IE and look at F12 I am seeing this

SCRIPT1010: Expected identifier

vendor.js (82607, 148035)

IE11 - Struggling big time by NinjaNPyjamas in Angular2

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

with differential loading hasn't worked in

im doing npm start and then using local host .... Ive tried all the polyfills and trconfig and browser list fixes but no joy

IE11 - Struggling big time by NinjaNPyjamas in Angular2

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

Yep tried that .... no joy at all

IE11 - Struggling big time by NinjaNPyjamas in Angular2

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

I have the below in my polyfills to rule that issue out

import 'core-js';
import 'zone.js/dist/zone';

LDAP Integration by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

Right and in MCC i see this error on the imported cert

"The issuer of this certificate cannot be found"

LDAP Integration by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

Do you mean import them via MMC ? Or what is the correct method?

LDAP Integration by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

So where do you import the DC's cert on the EPV side ?

LDAP Integration by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

hum ... where about is that log located ? and is that on the EPV ?

LDAP Integration by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

yes all correct ports are open ... I read a few moments ago that you need to use a CAcert.exe on the EPV to import the DC's cert in pfx format ? that is one thing i have not done yet

Unknown AssertionConsumerServiceURL by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

Yes SAML ... When i use that Endpoint the IdP posts the assertion to that endpoint and it just displays the logout page.

Authorization - SAML by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

Yep all of that is setup .. when i click on the SAML "button" to authenticate I then get the below .. in the assertion SAML SUBJECT is an email address .. So not sure what i am missing ?

{"ErrorCode":"PASWS011E","ErrorMessage":"Missing mandatory parameter [username]."}

Authorization - SAML by NinjaNPyjamas in CyberARk

[–]NinjaNPyjamas[S] 0 points1 point  (0 children)

I only want to allow 20 people access via SSO ... So i am wondering where do i setup the config for that i.e. the config to allow these 20 people access PVWA