HTML where a new website is launched after successful log in - html

At work we are having issues with the log in credentials. We use SAP BI and for some reason when logging into the main site, everything works, but when logging into the OpenDoc feature of the site, the credentials do not carry over. The guys are working to fix the credential issues; in the meantime I'm trying to come up with an HTML script workaround that can, after logging into the first site, automatically redirect to the other site. I'm really new to HTML so any help would be appreciated.
This is all I have so far (close to nothing):
window.open("https://login_site.php");
here, after the user inputs the username and password, I want to trigger
the initiation of the second web address. I'm interested on having the
second scripts triggering only after pressing enter, or clicking "Log On"
without closing the first webpage, otherwise the credentials will be lost-->
window.open("https://redirected_site");
Thank you in advance.

Related

Banno Mobile Plugin not authenticating

I have an app running and this seems to be fine unless a specific process happens in mobile. When leaving the app on the dashboard for some time and going back after the session time has laps. I log back in to the app then clicking on the link in my plugin that is using the banno-plugin-framework-bridge deeplink the page is asking for authentication even though the app already asked for login for the app. I am not saving anything in session just authenticating. The only way I have found to resolve is to leave the dashboard screen and come back and click the link.
This does not happen in desktop so this has been harder to solve. I tried adding logs but because it is redirecting to the login for authentication I am not able to render a reason for it to need to authenticate again. When I tried in desktop to see if there was a session that I can target I am not seeing anything come back with javascript call "document.cookie"

Application name on Authorization page didn't change in 3-Legged auth

We changed our production application name and description by forge.autodesk.com/myapps. But on authorization page we still see the old one.
Can we force to refresh it somehow?
Clearing browser cache didn't help. We've been wainting for 2 days but it still doesn't work.
Just got confirmation from Engineering that they've pushed the fix to production.
If you create a new app, the authorization page should show the name of the app properly. If you still want to use any impacted app, please edit and save the app.

How can I test Chrome's "remember password" prompt on my site to make sure it's working?

I'm working on a site that uses an XHR to authenticate the user and is supposed to trigger the password save prompt by using history.pushState but it's not working. I thought I was doing something wrong, but then I saw my normal form without using any JavaScript was also not working. Is there any way to consistently trigger the password save dialog to make sure I'm doing everything correctly, at least in some kind of development or staging environment?
I'm still not sure what causes the Chrome to be inconsistent with when it shows the password prompt when I'm using it when logged into my Google account, but I created a new user and it started working pretty much every time I entered the password. Maybe the problem is being caused by an extension I have installed or something.
So if anyone comes across this issue try adding a new Chrome user that isn't logged in with a Google account.

Windows .net Google.Apis hangs on the call to InsertMediaUpload.Upload -- there is no timeout

I am using GoogleApis to upload documents to Google Drive using the InsertMediaUpload class from the FilesResource namespace and the Upload method. It is working well for me with the following exception:
After calling InsertMediaUpload, a browser window appears asking the user to log into their Google (usually Gmail) account. If the user simply closes the browser window instead of clicking on "Accept" or "Cancel" then the current process appears to be hung. I suppose there should a timeout of a minute or two so that if the user opts to not log in the current windows application will not simply hang and stop working indefinitely.
There is no need for sample code here. What should happen when the user simply closes the browser window instead of clicking cancel if they are no longer interested in uploading a document? Crashing (or hanging) the current process should not be a possibility, but that is what occurs. One would hope closing the browser window would have the same effect as clicking the cancel button -- just another way of opting out of an upload to Google Drive, right?
Thanks in advance for any help with this.
You're not supposed to get authentication message from InsertMediaUpload class. You should handle authentication by yourself. Authentication browser window you get is for your development convenience, not for production code. Please take a look at .net quickstart. In this quickstart, you'll see GetAuthorization method which handles authentication. Modify this method on your needs and you'll get what you want.

GAS: This application was created by another user, not by Google

I have made a script that is running as a 'Apps Script Gadget' in Google Sites. The script has access to my email and calender etc. because I need notifications if someone has used my script.
When I go to the site as "noname" user I get the message "This application was created by another user, not by Google. This application has access to the following personal information: email address." How do I get rid of this, the user is not interested if the script sends me a email or not.
Thank you for any advises.
Same thing happened to me; I commented out all references to the Session object but I still got the popup message.
When I removed the commented code entirely and re-published, everything worked fine. The message about access to the email info was gone.
I guess the google code holds onto an internal library reference even if there is commented code. Does not make much sense to me. But hope this helps.
If your script is not reliant on any of the users' information, I would suggest when deploying the web app to "Execute the app as" me. In the Publish > Deploy As Web App... pop-up, there's a dropdown for this.