Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8070219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:20:30+00:00 2026-06-05T13:20:30+00:00

Currently, I have a GWT based application /app.htm It displays an openId login button

  • 0

Currently, I have a GWT based application “/app.htm”

It displays an openId login button which does a

Window.Location.assign("/openidServlet?return=/app.htm")

This servlet prepares some stuff to call google’s openid page, and then goes back to the return url. This is works, but app.html also display a google maps and this is heavy when reloading.

I would like to do this in a new window (a kind of popup) to avoid reloading ‘app.htm’

In a perfect world, when openid window closes, it sends to app.htm something to say “ready, do your loginRpc query again”

I already tried to do it in a Frame but I get

Refused to display document because display forbidden by X-Frame-Options

Working with gwt2.4 and NO gae

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T13:20:35+00:00Added an answer on June 5, 2026 at 1:20 pm

    You’d want to use the OpenID UI Extension. There’s sample code available in JavaScript, that should be relatively easy to port to GWT (or more easily wrapped, using JSNI).

    Basically, it uses window.open() to start the OpenID signing process in a popup window, and it monitors the window object (returned by window.open(), which requires using JSNI in GWT, as com.google.gwt.user.client.Window#open doesn’t return it) to see if it was closed or not (and your return_to page could contain a script to automatically close the window if you like).
    When the popup is closed, you can retry your request, and possibly start the signing process again if you detect the user is still not logged in.

    They don’t seem to be using it, but I suppose you could communicate back to your app from the return_to page using window.opener (and exposing some callback method through JSNI: https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI#calling )

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have experience writing a Facebook application using GWT with GAE? I'm new
I'm currently building a SmartGWT-based web application (using the Portlet Layout). So I have
I am currently developing Java/GWT-application which is hosted on a weblogic application server. I
I currently have a primary Java Web App Project which houses some Servlets, JSPs
i am implementing my first GWT application currently, i just have a quick question
I have a GWT application for which I'm trying to write some tests using
I have a GWT application where users keep the browser based side of the
I have written a webpage with GWT which contains auto-generated Hyperlinks. These hyperlinks currently
I'm currently developing an application with Appengine and GWT. I have to send a
I have a GWT application which I would like to run from within a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.