Question

Snapstart URL not working

Hi,

I am using below URL to launch Pega in a modal window from an external website. But keep getting "Invalid Request: 400"

http://localhost:8080/prweb?UserIdentifier=<User name>&Password=<pwd>&pyActivity=Work-.NewFromFlow&InsClass=SL-CA-Analyzer-Work-Onboarding&FlowType=pyStartCase&HarnessPurpose=Perform

Comments

Keep up to date on this post and subscribe to comments

Pega
August 21, 2019 - 1:20pm

Hi,

Instead of localhost, use IP address and try.

Thanks,

Kranthi

 

Pega
August 21, 2019 - 1:24pm

Hi,

The Password needs to be base64 encoded and then that result URL encoded.  Have you done that?

Example Password: thisisnotsecureatall

Base64 Encoded: dGhpc2lzbm90c2VjdXJlYXRhbGw=

URLEncoded: dGhpc2lzbm90c2VjdXJlYXRhbGw%3D

This is also not very secure. For example the web servers will possibly have a log file containing URL's in them that show a username and password for accessing a system.  

--Chris

 

 

 

August 21, 2019 - 1:57pm
Response to ChrisKoyl

@ChrisKoyl I have a requirement to launch Pega Case everytime a new guest clicks on an external web application. Initially I was thinking of implementing using snapstart URL but as you stated the credentials get exposed in query string. Now I am considering SSO to get a new user created everytime guest clicks the button to launch Pega.