如何使用也使用oauth2身份验证在heroku上托管的Angular 6前端在heroku上使用SpringBoot后端应用程序?

时间:2018-06-25 17:38:04

标签: angular spring-boot authentication heroku oauth

我正在尝试在heroku上实现一个Angular 6应用程序,该应用程序也托管在heroku上的后端Spring Boot应用程序。 当我进行部署并尝试登录时,会出现一个窗口,要求进行另一次身份验证。

使用localhost默认设置,它可以正常工作。也许,heroku上还有其他配置我忘记了吗?

API应用程序:https://github.com/ronaldocaldas/money-api

UI应用程序:https://github.com/ronaldocaldas/money-ui

heroku:https://money-ui-angular.herokuapp.comhttps://dashboard.heroku.com/apps/exemplo-money-api

0 个答案:

没有答案