Skip to content

terafuze/spring-security-oauth-5-2-gusto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The goal of this application is to demonstrate the automatic HTTP redirect to the Gusto login page when the Spring Webflux WebClient class invokes a Gusto API.

This code works as expected. The problem is that I cannot get the same code to work in a JHipster generated application. I have an example JHipster application in Github with the same (well, very similar) code for invoking the Gusto API. However, the redirection doesn’t happen in the JHipster based application. See https://github.com/nward1234/jhipster7-oauth-sample.

  • From the top-level directory, execute the command ./mvnw -f client-app spring-boot:run

  • This runs the build setup in the client-app directory

  • Go to http://localhost:8080/api/current-user.

  • The browser will redirect to the Gusto Login page and the Gusto Login page will be displayed.

This is as far as I have gotten. I don’t have the login information for Gusto.

The code that is being used here is the code in the client-app subdirectory. To view and edit the code in Eclipse, import the client-app directory as an existing maven project.

See the settings in the src/main/resources/application.yml file.

This code was adapted from the [Spring Security OAuth 5.2 Migration sample](https://github.com/jgrandja/spring-security-oauth-5-2-migrate)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •