Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
Embed Username and password in URL
Community
›
Forums
›
Technology & Integration
Embed Username and password in URL
New Post
New Post
Gary Williams
Posted on 2011-11-09
Gary Williams
Rank: #622
Posted on 2011-11-09
Before you excited and tell me it's a bad idea... please understand my app is within a very secure intranet and is not a security risk.
I want to track which user (one of my staff) adds notes in my database and so I need them to logon.... but I want them to be logged in automatically from another piece of software (Gemini) which I've setup to have the same user and password details.
To explain further...
1. The user logs into Gemini (not an Outsystems app)
2. The userid and password can be extracted from Gemini and added to the URL of my outsystems app
So I have a way of knowing who the user is and their password and because they match the outsystems credentials I want to generate a url in Gemini to go straight to my Outsystems app and log them in with the known credentials.
Looking on the www it seems the syntax ought to be
http://user:password@localhost/OutsystemsApp/
but it doesn't work....
Can it be done, does anyone know the syntax?
Many Thanks
Gary
António Chinita
Posted on 2011-11-09
António Chinita
Rank: #15
Posted on 2011-11-09
Solution
It's still a bad idea for numerous reasons Gary, despite how secure that intranet might be the bottom line is, people are evil.
I'm not going to sugest any alternatives, as you specifically said you wanted it to work that way and I don't know how much you can customize that Gemini software, so don't worry, I'm not gonna go on a rant here. :)
Anyway, to do that you probably need to create an Outsystems screen that receives the two input parameters (with anonymous permissions) and validate the credentials in the preparation of that screen. If they match, redirect to the destination screen, if they don't send an error message or w/e you think fits.
Then your link should be something like
http://hostname/eSpaceName/LoginPage.aspx?u=username&p=password
(assuming your parameters are named
u
and
p
)
Best regards,
Solution
Ricardo Araújo
Posted on 2011-11-10
Ricardo Araújo
Rank: #87
Posted on 2011-11-10
Solution
Just to add one more word in last post... remeber to encrypt those parameters.
Solution
Gary Williams
Posted on 2011-11-10
Gary Williams
Rank: #622
Posted on 2011-11-10
Solution
Hi Guys,
Thanks for your help - I'll give it a go..!
Cheers
Gary
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...