GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/appengine-java8/iap at main · thehands79/java-docs-samples

Expand file tree

/

iap

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

iap

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src/main
src/main
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Cloud Identity-Aware Proxy sample for Google App Engine

This sample demonstrates how to use the Cloud Identity-Aware Proxy on Google App Engine.

Setup

Install the Google Cloud SDK and run:

   gcloud init

If this is your first time creating an App engine application:

   gcloud app create

Running locally

This application depends on being enabled behind an IAP, so this program should not be run locally.

Deploying

  • Deploy the application to the project
         mvn clean package appengine:deploy
    
  • Enable Identity-Aware Proxy on the App Engine app.
  • Add the email account you'll be running the test as to the Identity-Aware Proxy access list for the project.

Test

Once deployed, access https://your-project-id.appspot.com . This should now prompt you to sign in for access. Sign in with the email account that was added to the Identity-Aware proxy access list. You should now see the jwt token that was received from the IAP server.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.