How can I get the token to the front end angular application after successful redirection to the index.html page happens like
1. I have used
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
in my pom.xml
2. then I have added required properties in my application.properties file
3. I built the angular files and placed them under resources/static folder现在重定向到auth服务器并回调到应用程序是成功的,但是如何获取oauth2令牌并将其存储在角应用程序中,这将对进一步的调用非常有用。
发布于 2022-10-18 18:35:11
https://stackoverflow.com/questions/74110261
复制相似问题