- Update
src/main/resources/application.yml
to include your GCP project ID and to point to a credential file that has proper GCP credentials to list providers for a tenant - Run with
./gradlew run
- Issue a GET request to
http://localhost:8080/providers/{tenantId}
TODO: -create service that returns provider(s) based on user email -create middle page between sign in and result
Steps:
- user inputs email and clicks login
- auth api takes email, looks up provider and uses provider id to call
createAuthUri
- set
continueUri
to be the middle page- note, this will need to be set in the Google Admin/Identity Platform page
- sign in with google
- after landing on the middle page, persist sessionId, code, state, any other params from url
- call login endpoint with items
- perform
signInWithIdp
on the backend - return jwt and expiresIn from response