[RPG]auto-login on Webview

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
Post Reply
MegumiSawada
Posts: 260
Joined: Tue Feb 19, 2013 5:18 pm

[RPG]auto-login on Webview

Post by MegumiSawada » Mon Aug 21, 2017 7:48 pm

Hi,

I would like to pass User id/password to the web page in Webview.
Is there anyone who has done this before?
I would like to have your advice how to do it.

For example, Gmail log in page is set to URL of webview, and I would like to auto-login with supplied
It seems that our target web page is not basic authentication so we can't use URL like http://userid:password@url...

Best Regards,
Megumi Sawada

MegumiSawada
Posts: 260
Joined: Tue Feb 19, 2013 5:18 pm

Re: [RPG]auto-login on Webview

Post by MegumiSawada » Fri Aug 25, 2017 10:13 am

Can I use bookmarklet on webview for auto-login?

tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: [RPG]auto-login on Webview

Post by tsupartono » Fri Aug 25, 2017 2:02 pm

Megumi,
Do you have control over the login page?
Can you make any changes to it?
I assume the answer is no, but I just want to make sure before we proceed to the next step.

MegumiSawada
Posts: 260
Joined: Tue Feb 19, 2013 5:18 pm

Re: [RPG]auto-login on Webview

Post by MegumiSawada » Fri Aug 25, 2017 3:43 pm

Hi Tony,

I guess the answer is yes, but it costs to do so...
The application has been developed by an external vendor
If there's no way to achieve auto-loguin without some modification on login page, then the customer will consider modifying the page.

I can give you the login page html. Please let me know if you need it. I'll email you.

Regards,
Megumi

tsupartono
Posts: 289
Joined: Wed Apr 18, 2012 10:21 am

Re: [RPG]auto-login on Webview

Post by tsupartono » Fri Aug 25, 2017 4:35 pm

We'll investigate if it's feasible to have a JavaScript that runs on page completion (the script is set by your RPG program, it would contain the username/password).
What platform do you need this on (iOS,Android)?

MegumiSawada
Posts: 260
Joined: Tue Feb 19, 2013 5:18 pm

Re: [RPG]auto-login on Webview

Post by MegumiSawada » Fri Aug 25, 2017 5:40 pm

Thank you.

It's on Windows.

Regards,Megumi

Post Reply